/* ========================================
   魔法学院 - 鼠标学习游戏
   CSS 样式文件
   ======================================== */

/* CSS 变量 - 配色方案 */
:root {
    /* 主色调 */
    --primary: #9B59B6;       /* 魔法紫 */
    --primary-light: #BB8FCE;
    --primary-dark: #7D3C98;
    --secondary: #E91E63;     /* 粉红 */
    --secondary-light: #F48FB1;
    --accent: #F1C40F;        /* 金色 */
    --accent-light: #F7DC6F;

    /* 背景色 */
    --background: #1A1A2E;    /* 深夜空 */
    --background-light: #2D2D44;
    --background-gradient: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%);

    /* 文字色 */
    --text: #FFFFFF;
    --text-muted: #B8B8D1;

    /* 功能色 */
    --success: #2ECC71;       /* 成功绿 */
    --error: #E74C3C;         /* 错误红 */
    --warning: #F39C12;       /* 警告橙 */
    --info: #3498DB;          /* 信息蓝 */

    /* 尺寸 */
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.4);
}

/* 全局重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background: var(--background-gradient);
    color: var(--text);
    overflow: hidden;
}

/* 主容器 */
#app {
    width: 100%;
    height: 100%;
    position: relative;
}

/* ========================================
   屏幕通用样式
   ======================================== */
.screen {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.screen.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.screen.overlay {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 100;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* ========================================
   开始界面
   ======================================== */
#start-screen {
    background:
        radial-gradient(circle at 20% 30%, rgba(155, 89, 182, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(233, 30, 99, 0.3) 0%, transparent 50%),
        var(--background-gradient);
}

.title-container {
    text-align: center;
    margin-bottom: 60px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.game-title {
    font-size: 4rem;
    font-weight: bold;
    text-shadow: 0 0 30px rgba(155, 89, 182, 0.8);
    margin-bottom: 16px;
}

.title-icon {
    font-size: 5rem;
    display: block;
    margin-bottom: 10px;
}

.title-text {
    display: block;
}

.title-text.en {
    display: none;
    font-size: 2.5rem;
    color: var(--primary-light);
}

body[data-lang="en"] .title-text.zh {
    display: none;
}

body[data-lang="en"] .title-text.en {
    display: block;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.subtitle .en {
    display: none;
}

body[data-lang="en"] .subtitle .zh {
    display: none;
}

body[data-lang="en"] .subtitle .en {
    display: block;
}

/* 菜单按钮 */
.menu-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 300px;
}

.menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--text);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.menu-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.menu-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(155, 89, 182, 0.5);
}

.menu-btn:hover::before {
    left: 100%;
}

.menu-btn:active {
    transform: translateY(-1px);
}

.menu-btn .en {
    display: none;
}

body[data-lang="en"] .menu-btn .zh {
    display: none;
}

body[data-lang="en"] .menu-btn .en {
    display: block;
}

.start-btn {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    font-size: 1.5rem;
    padding: 22px 50px;
}

.btn-icon {
    font-size: 1.8rem;
    animation: sparkle 1s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* 语言切换 */
.language-switch {
    position: absolute;
    bottom: 30px;
    display: flex;
    gap: 10px;
}

.lang-btn {
    padding: 10px 20px;
    font-size: 1rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.15);
}

.lang-btn.active {
    color: var(--text);
    border-color: var(--accent);
    background: rgba(241, 196, 15, 0.2);
}

/* ========================================
   屏幕头部
   ======================================== */
.screen-header {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.back-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 1rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.2);
}

.back-btn .en {
    display: none;
}

body[data-lang="en"] .back-btn .zh {
    display: none;
}

body[data-lang="en"] .back-btn .en {
    display: block;
}

.screen-title {
    font-size: 1.8rem;
    color: var(--text);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.screen-title .en {
    display: none;
    margin-left: 10px;
}

body[data-lang="en"] .screen-title .zh {
    display: none;
}

body[data-lang="en"] .screen-title .en {
    display: inline;
}

/* ========================================
   关卡选择界面
   ======================================== */
#level-select-screen {
    justify-content: flex-start;
    padding-top: 100px;
}

.level-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 1100px;
    padding: 20px;
}

.level-card {
    background: linear-gradient(135deg, var(--background-light) 0%, rgba(45, 45, 68, 0.8) 100%);
    border: 2px solid rgba(155, 89, 182, 0.3);
    border-radius: var(--border-radius);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.level-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.level-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(155, 89, 182, 0.4);
}

.level-card.locked {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(0.5);
}

.level-card.locked:hover {
    transform: none;
}

.level-icon {
    font-size: 3.5rem;
    margin-bottom: 12px;
}

.level-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text);
    margin-bottom: 8px;
}

.level-name .en {
    display: none;
}

.level-skill {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.level-skill .en {
    display: none;
}

body[data-lang="en"] .level-name .zh,
body[data-lang="en"] .level-skill .zh {
    display: none;
}

body[data-lang="en"] .level-name .en,
body[data-lang="en"] .level-skill .en {
    display: block;
}

.level-stars {
    font-size: 1.5rem;
    margin-bottom: 8px;
    min-height: 36px;
}

.level-stars .star.locked {
    filter: grayscale(1);
    opacity: 0.3;
}

.level-score {
    font-size: 1.1rem;
    color: var(--accent);
    font-weight: bold;
}

/* ========================================
   游戏界面
   ======================================== */
#game-screen {
    justify-content: flex-start;
    padding: 0;
}

.game-header {
    width: 100%;
    padding: 16px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 2px solid rgba(155, 89, 182, 0.3);
}

.game-info {
    display: flex;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.info-label .en {
    display: none;
    margin-left: 8px;
}

.info-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent);
}

.info-label,
.info-value {
    display: flex;
    align-items: center;
}

body[data-lang="en"] .info-label .zh {
    display: none;
}

body[data-lang="en"] .info-label .en {
    display: inline;
}

.pause-btn {
    padding: 12px 20px;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pause-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.game-instruction {
    text-align: center;
    padding: 16px;
    background: rgba(155, 89, 182, 0.2);
    border-bottom: 1px solid rgba(155, 89, 182, 0.3);
}

.game-instruction p {
    font-size: 1.2rem;
    color: var(--text);
}

.game-instruction .en {
    display: none;
}

body[data-lang="en"] .game-instruction .zh {
    display: none;
}

body[data-lang="en"] .game-instruction .en {
    display: block;
}

#game-canvas {
    flex: 1;
    width: 100%;
    cursor: default;
}

/* 教程提示 */
.tutorial-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--accent);
    border-radius: var(--border-radius);
    padding: 20px 30px;
    text-align: center;
    max-width: 500px;
    z-index: 50;
}

.tutorial-hint p {
    margin-bottom: 10px;
    font-size: 1rem;
}

.tutorial-hint .en {
    display: none;
}

.tutorial-hint .shortcut {
    color: var(--accent);
    font-family: monospace;
    font-size: 0.9rem;
    margin-top: 12px;
}

body[data-lang="en"] .tutorial-hint .zh {
    display: none;
}

body[data-lang="en"] .tutorial-hint .en {
    display: block;
}

.got-it-btn {
    margin-top: 12px;
    padding: 10px 24px;
    font-size: 1rem;
    color: var(--text);
    background: var(--primary);
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.got-it-btn:hover {
    background: var(--primary-light);
}

/* ========================================
   模态框
   ======================================== */
.modal {
    background: linear-gradient(135deg, var(--background-light) 0%, var(--background) 100%);
    border: 2px solid rgba(155, 89, 182, 0.5);
    border-radius: var(--border-radius);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: modalSlide 0.3s ease;
    max-width: 450px;
    width: 90%;
}

@keyframes modalSlide {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text);
}

.modal-title .en {
    display: none;
    margin-left: 10px;
}

body[data-lang="en"] .modal-title .zh {
    display: none;
}

body[data-lang="en"] .modal-title .en {
    display: inline;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.modal-btn {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 20px rgba(155, 89, 182, 0.4);
}

.modal-btn .en {
    display: none;
}

body[data-lang="en"] .modal-btn .zh {
    display: none;
}

body[data-lang="en"] .modal-btn .en {
    display: block;
}

.continue-btn {
    background: linear-gradient(135deg, var(--success) 0%, #27AE60 100%);
}

.restart-btn {
    background: linear-gradient(135deg, var(--warning) 0%, #D68910 100%);
}

.quit-btn {
    background: linear-gradient(135deg, var(--error) 0%, #C0392B 100%);
}

/* ========================================
   结算界面
   ======================================== */
.result-medal {
    font-size: 6rem;
    margin-bottom: 16px;
    animation: medalSpin 1s ease infinite;
}

@keyframes medalSpin {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.result-title {
    font-size: 1.8rem;
    color: var(--accent);
    margin-bottom: 24px;
}

.result-title .en {
    display: none;
}

body[data-lang="en"] .result-title .zh {
    display: none;
}

body[data-lang="en"] .result-title .en {
    display: block;
}

.result-stats {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius-sm);
    padding: 20px;
    margin-bottom: 20px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
}

.stat-label .en {
    display: none;
    margin-left: 8px;
}

.stat-value,
.stat-stars {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent);
}

.stat-label,
.stat-value,
.stat-stars {
    display: flex;
    align-items: center;
}

body[data-lang="en"] .stat-label .zh {
    display: none;
}

body[data-lang="en"] .stat-label .en {
    display: inline;
}

.new-achievement {
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.2), rgba(233, 30, 99, 0.2));
    border: 2px solid var(--accent);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    margin-bottom: 20px;
    animation: pulse 1s ease infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 10px rgba(241, 196, 15, 0.5); }
    50% { box-shadow: 0 0 25px rgba(241, 196, 15, 0.8); }
}

.achievement-icon {
    font-size: 1.5rem;
    margin-right: 10px;
}

.new-achievement .en {
    display: none;
}

body[data-lang="en"] .new-achievement .zh {
    display: none;
}

body[data-lang="en"] .new-achievement .en {
    display: block;
}

.next-btn {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}

/* ========================================
   成就界面
   ======================================== */
#achievements-screen {
    justify-content: flex-start;
    padding-top: 100px;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    width: 100%;
    max-width: 1000px;
    padding: 20px;
}

.achievement-card {
    background: linear-gradient(135deg, var(--background-light) 0%, rgba(45, 45, 68, 0.8) 100%);
    border: 2px solid rgba(155, 89, 182, 0.3);
    border-radius: var(--border-radius);
    padding: 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

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

.achievement-card.unlocked {
    border-color: var(--accent);
    box-shadow: 0 5px 25px rgba(241, 196, 15, 0.3);
}

.achievement-card.locked {
    filter: grayscale(0.8);
    opacity: 0.6;
}

.achievement-icon {
    font-size: 3.5rem;
    margin-bottom: 12px;
}

.achievement-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text);
    margin-bottom: 8px;
}

.achievement-name .en {
    display: none;
}

.achievement-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.achievement-desc .en {
    display: none;
}

body[data-lang="en"] .achievement-name .zh,
body[data-lang="en"] .achievement-desc .zh {
    display: none;
}

body[data-lang="en"] .achievement-name .en,
body[data-lang="en"] .achievement-desc .en {
    display: block;
}

.achievement-status {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 1.2rem;
}

.achievement-status.locked {
    filter: grayscale(1);
}

/* ========================================
   帮助界面
   ======================================== */
#help-screen {
    justify-content: flex-start;
    padding-top: 100px;
}

.help-content {
    width: 100%;
    max-width: 800px;
    padding: 20px;
    overflow-y: auto;
    max-height: calc(100vh - 150px);
}

.help-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 20px;
}

.help-section h3 {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.help-section h3 .en {
    display: none;
}

body[data-lang="en"] .help-section h3 .zh {
    display: none;
}

body[data-lang="en"] .help-section h3 .en {
    display: inline;
}

.help-section p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.help-section .en {
    display: none;
}

body[data-lang="en"] .help-section .zh {
    display: none;
}

body[data-lang="en"] .help-section .en {
    display: inline;
}

.help-list {
    list-style: none;
    padding-left: 0;
}

.help-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--text-muted);
}

.help-list li:last-child {
    border-bottom: none;
}

.help-list strong {
    color: var(--primary-light);
    min-width: 100px;
}

.help-list .en {
    display: none;
}

body[data-lang="en"] .help-list strong + span.zh,
body[data-lang="en"] .help-list .en {
    display: none;
}

body[data-lang="en"] .help-list strong + span.en {
    display: inline;
}

/* ========================================
   设置界面
   ======================================== */
#settings-screen {
    justify-content: flex-start;
    padding-top: 100px;
}

.settings-content {
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    margin-bottom: 16px;
}

.setting-label {
    font-size: 1.1rem;
    color: var(--text);
}

.setting-label .en {
    display: none;
    margin-left: 10px;
}

body[data-lang="en"] .setting-label .zh {
    display: none;
}

body[data-lang="en"] .setting-label .en {
    display: inline;
}

/* 开关按钮 */
.toggle-switch {
    position: relative;
    width: 60px;
    height: 32px;
    display: inline-block;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    transition: 0.3s;
    border-radius: 32px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 4px;
    bottom: 4px;
    background: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(28px);
}

/* 音量滑块 */
.volume-slider {
    width: 150px;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.volume-slider::-webkit-slider-thumb:hover {
    background: var(--primary-light);
    transform: scale(1.1);
}

/* 重置按钮 */
.reset-btn {
    padding: 12px 24px;
    font-size: 1rem;
    color: var(--error);
    background: rgba(231, 76, 60, 0.2);
    border: 2px solid var(--error);
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    background: var(--error);
    color: var(--text);
}

.reset-btn .en {
    display: none;
    margin-left: 10px;
}

body[data-lang="en"] .reset-btn .zh {
    display: none;
}

body[data-lang="en"] .reset-btn .en {
    display: inline;
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 768px) {
    .game-title {
        font-size: 2.5rem;
    }

    .title-icon {
        font-size: 3.5rem;
    }

    .menu-btn {
        padding: 14px 30px;
        font-size: 1.1rem;
    }

    .level-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .game-info {
        gap: 15px;
    }

    .info-item {
        gap: 5px;
    }

    .info-label {
        font-size: 0.75rem;
    }

    .info-value {
        font-size: 1.2rem;
    }

    .modal {
        padding: 30px 20px;
    }
}

/* ========================================
   游戏内特效
   ======================================== */
/* 浮动文字效果 */
.floating-text {
    position: absolute;
    font-size: 1.5rem;
    font-weight: bold;
    pointer-events: none;
    animation: floatUp 1s ease forwards;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.floating-text.positive {
    color: var(--success);
}

.floating-text.negative {
    color: var(--error);
}

.floating-text.bonus {
    color: var(--accent);
}

@keyframes floatUp {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-50px) scale(1.2);
    }
}

/* 星星闪烁 */
.star-twinkle {
    animation: twinkle 0.5s ease-in-out infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.7; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

/* 魔法杖发光 */
.wand-glow {
    filter: drop-shadow(0 0 10px var(--primary)) drop-shadow(0 0 20px var(--primary));
}
