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

        body {
            background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
            color: #e0e0e0;
            min-height: 100vh;
            padding: 0;
            margin: 0;
        }

        /* 顶部导航栏 */
        .header {
            background-color: rgba(0, 0, 0, 0.7);
            padding: 15px 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #333;
        }

        .logo {
            font-size: 28px;
            font-weight: bold;
            color: #fff;
            text-shadow: 0 0 10px rgba(0, 150, 255, 0.7);
        }

        .nav-links {
            display: flex;
            gap: 25px;
        }

        .nav-links a {
            color: #FFD700;
            text-decoration: none;
            font-size: 20px;
            transition: color 0.3s;
            font-weight: bold;
        }

        .nav-links a:hover {
            color: #fff;
        }

        /* 主内容区域 */
        .main-container {
            display: flex;
            min-height: calc(100vh - 70px);
            gap: 20px;
            padding: 20px;
        }

        /* 左侧职业选择 */
        .class-selector {
            width: 260px;
            background-color: rgba(20, 20, 20, 0.8);
            padding: 25px;
            border-radius: 10px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }

        .class-item {
            height: 130px;
            display: flex;
            align-items: center;
            padding: 0 25px;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
            overflow: hidden;
            border-radius: 10px;
        }

        .class-item:not(.active) {
            background-color: rgba(40, 40, 40, 0.6);
        }

        .class-item.active {
            background-color: rgba(50, 50, 50, 0.8);
            box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
        }
        
        /* 添加图标滤镜效果 */
        .class-item:not(.active) img {
             filter: grayscale(100%) brightness(0.7);
        }      
        
        .class-item.active img {
            filter: none;
        }        

        .class-item img {
            width: 70px;
            height: 70px;
            margin-right: 20px;
        }

        .class-name {
            font-size: 18px;
            font-weight: bold;
            color: #e0e0e0;
        }

        .class-item.active .class-name {
            color: #FFD700; /* 金黄色 */
            text-shadow: 0 0 8px rgba(255, 215, 0, 0.7);
        }

        /* 右侧内容区域 */
        .content-area {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        /* 天赋菜单 */
        .talent-menu {
            display: flex;
            background-color: rgba(30, 30, 30, 0.8);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }

        .menu-item {
            flex: 1;
            text-align: center;
            padding: 15px 0;
            cursor: pointer;
            transition: all 0.3s;
            position: relative;
            color: #aaa;
            font-size: 18px;
            font-weight: bold;
        }

        /* 艾瑞尔菜单项样式 */
        .menu-item[data-menu="airuier"] {
            color: #ea8a21;
        }

        /* 艾瑞尔激活状态 */
        .menu-item[data-menu="airuier"].active {
            color: #fff;
            background-color: rgba(234, 138, 33, 0.3);
        }

        /* 艾瑞尔激活状态的下划线效果 */
        .menu-item[data-menu="airuier"].active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, transparent, #ea8a21, transparent);
            animation: flow 2s infinite;
        }

        /* 阿斯佩尔菜单项样式 */
        .menu-item[data-menu="asipier"] {
            color: #b356e7;
        }

        /* 阿斯佩尔激活状态 */
        .menu-item[data-menu="asipier"].active {
            color: #fff;
            background-color: rgba(179, 86, 231, 0.3);
        }

        /* 阿斯佩尔激活状态的下划线效果 */
        .menu-item[data-menu="asipier"].active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, transparent, #b356e7, transparent);
            animation: flow 2s infinite;
        }

        .menu-item.active {
            color: #fff;
            background-color: rgba(50, 50, 50, 0.8);
        }

        .menu-item.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, transparent, #00aaff, transparent);
            animation: flow 2s infinite;
        }

        @keyframes flow {
            0% { background-position: -100% 0; }
            100% { background-position: 200% 0; }
        }

        /* 天赋模拟器主体 */
        .talent-container {
            display: flex;
            gap: 20px;
            flex: 1;
        }

        /* 天赋树 */
        .talent-tree {
            flex: 1;
            background-color: rgba(20, 20, 20, 0.7);
            border-radius: 10px;
            padding: 20px;
            display: flex;
            flex-direction: column;
            align-items: center;
            overflow: auto;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
            position: relative;
        }

        .talent-grid {
            display: grid;
            gap: 8px;
            width: fit-content;
            margin: 0 auto;
            position: relative;
            top: 70px;
        }

        .talent-node {
            width: 70px;
            height: 70px;
            display: flex;
            justify-content: center;
            align-items: center;
            position: relative;
            cursor: pointer;
        }

        .talent-node img {
            width: 100%;
            height: 100%;
            transition: all 0.3s;
        }

        .talent-node.active img {
            filter: brightness(1.2) drop-shadow(0 0 10px rgba(255, 215, 0, 0.8));
            transform: scale(1.05);
        }

        .talent-node.empty {
            cursor: default;
        }

        .talent-node .tooltip {
            position: absolute;
            bottom: 100%;
            left: 50%;
            transform: translateX(-50%);
            background-color: rgba(0, 0, 0, 0.9);
            color: #fff;
            padding: 10px 15px;
            border-radius: 5px;
            white-space: nowrap;
            z-index: 10;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s;
            border: 1px solid #444;
            font-size: 14px;
        }

        .talent-node:hover .tooltip {
            opacity: 1;
        }

        .tooltip .type {
            border-bottom: 1px solid #555;
            padding-bottom: 5px;
            margin-bottom: 5px;
            font-weight: bold;
        }

        /* 右侧统计区域 */
        .stats-panel {
            width: 280px;
            background-color: rgba(20, 20, 20, 0.7);
            border-radius: 10px;
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 20px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        }

        .energy-counter {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
            padding-bottom: 15px;
            border-bottom: 1px solid #333;
        }

        .energy-icon {
            width: 45px;
            height: 45px;
        }

        .energy-value {
            font-size: 26px;
            font-weight: bold;
            color: #fff;
        }

        .energy-input {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .energy-input input {
            width: 90px;
            background-color: #333;
            border: 1px solid #555;
            border-radius: 5px;
            color: #fff;
            padding: 6px 12px;
            font-size: 14px;
        }

        .energy-input button {
            background-color: #0066cc;
            color: #fff;
            border: none;
            border-radius: 5px;
            padding: 6px 12px;
            cursor: pointer;
            transition: background-color 0.3s;
            font-size: 14px;
        }

        .energy-input button:hover {
            background-color: #0088ff;
        }

        /* 属性统计区域 */
        .attributes {
            display: flex;
            flex-direction: column;
            gap: 15px;
            flex: 1;
        }

        .attribute-tabs {
            display: flex;
            background-color: rgba(40, 40, 40, 0.8);
            border-radius: 8px;
            overflow: hidden;
        }

        .attribute-tab {
            flex: 1;
            text-align: center;
            padding: 10px 0;
            cursor: pointer;
            transition: all 0.3s;
            font-size: 14px;
            color: #aaa;
        }

        .attribute-tab.active {
            background-color: rgba(60, 60, 60, 0.8);
            color: #fff;
            font-weight: bold;
        }

        .attribute-tab:not(.active) {
            background-color: rgba(30, 30, 30, 0.8);
        }

        .attribute-list {
            display: flex;
            flex-direction: column;
            gap: 8px;
            max-height: 800px;
            overflow-y: auto;
            padding-right: 5px;
        }

        .attribute-list::-webkit-scrollbar {
            width: 6px;
        }

        .attribute-list::-webkit-scrollbar-track {
            background: rgba(40, 40, 40, 0.5);
            border-radius: 3px;
        }

        .attribute-list::-webkit-scrollbar-thumb {
            background: rgba(100, 100, 100, 0.7);
            border-radius: 3px;
        }

        .attribute-list::-webkit-scrollbar-thumb:hover {
            background: rgba(120, 120, 120, 0.9);
        }

        .attribute-item {
            display: flex;
            justify-content: space-between;
            padding: 8px 12px;
            border-radius: 6px;
            background-color: rgba(40, 40, 40, 0.5);
            transition: all 0.3s;
        }

        .attribute-item:hover {
            background-color: rgba(50, 50, 50, 0.7);
            transform: translateX(3px);
        }

        .attribute-name {
            color: #ccc;
            font-size: 14px;
        }

        .attribute-value {
            color: #fff;
            font-weight: bold;
            font-size: 14px;
        }

        .attribute-value.positive {
            color: #4CAF50;
        }

        .attribute-value.negative {
            color: #F44336;
        }

        .empty-message {
            text-align: center;
            color: #888;
            font-style: italic;
            padding: 20px 0;
        }

        /* 重置按钮区域 */
        .reset-buttons {
            display: flex;
            gap: 10px;
            justify-content: center;
            margin-top: 10px;
        }

        .reset-button {
            background-color: #cc3300;
            color: #fff;
            border: none;
            border-radius: 5px;
            padding: 10px 15px;
            cursor: pointer;
            transition: background-color 0.3s;
            font-size: 14px;
            font-weight: bold;
            flex: 1;
            max-width: 120px;
        }

        .reset-button:hover {
            background-color: #ff4400;
        }

        /* 响应式调整 */
        @media (max-width: 1200px) {
            .main-container {
                flex-direction: column;
            }
            
            .class-selector {
                width: 100%;
                flex-direction: row;
                overflow-x: auto;
                border-radius: 10px;
                padding: 10px;
            }
            
            .class-item {
                flex-direction: column;
                width: 120px;
                height: auto;
                padding: 10px;
            }
            
            .class-item img {
                margin-right: 0;
                margin-bottom: 10px;
            }
            
            .talent-container {
                flex-direction: column;
            }
            
            .stats-panel {
                width: 100%;
            }
        }