        :root {
            --primary: #4A6FA5;      /* 专业蓝色 - 代表信任和宁静 */
            --primary-light: #6B8CBE;
            --primary-dark: #2E4A76;
            --secondary: #7DB9B6;    /* 青绿色 - 代表平衡和治愈 */
            --accent: #E8B4BC;       /* 柔和粉色 - 代表关怀和温暖 */
            --text-dark: #2C3E50;    /* 深蓝灰色 - 专业易读 */
            --text-medium: #5D6D7E;
            --text-light: #85929E;
            --background: #F8F9FA;   /* 浅灰色背景 */
            --background-alt: #EAECEE;
            --border: #D6DBDF;
            --shadow: 0 4px 12px rgba(74, 111, 165, 0.08);
            --shadow-hover: 0 8px 24px rgba(74, 111, 165, 0.15);
            --radius: 12px;
            --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background: linear-gradient(135deg, #F0F4F8 0%, var(--background) 100%);
            min-height: 100vh;
            padding: 20px;
        }
        a {
            color: #333333;
            text-decoration: none;
            transition: all 0.3s ease;
            font-weight: 500;
        }

        a:hover {
            color: #be002f;
            text-decoration: underline;
            text-decoration-thickness: 2px;
            text-underline-offset: 3px;
        }
        .container {
            max-width: 1400px;
            margin: 0 auto;
        }

        header {
            text-align: center;
            margin-bottom: 2rem;
            padding: 2.5rem;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            color: white;
            position: relative;
            overflow: hidden;
        }

        header::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(90deg, var(--secondary), var(--accent));
        }

        h1 {
            font-size: 2.8rem;
            margin-bottom: 0.5rem;
            font-weight: 700;
        }

        .subtitle {
            font-size: 1.3rem;
            opacity: 0.9;
            max-width: 600px;
            margin: 0 auto;
        }

        .main-content {
            display: grid;
            grid-template-columns: 1fr 1.2fr;
            gap: 2rem;
        }

        @media (max-width: 1024px) {
            .main-content {
                grid-template-columns: 1fr;
            }
        }

        .disease-selection {
            background: white;
            border-radius: var(--radius);
            padding: 2rem;
            box-shadow: var(--shadow);
            max-height: 80vh;
            overflow-y: auto;
        }

        .section-title {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1.5rem;
            color: var(--primary);
            font-size: 1.5rem;
        }

        .section-title i {
            font-size: 1.3rem;
        }

        .disease-categories {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        .disease-category {
            background: white;
            border-radius: var(--radius);
            padding: 1.5rem;
            cursor: pointer;
            transition: var(--transition);
            border: 2px solid var(--border);
            display: flex;
            align-items: center;
            gap: 1rem;
            position: relative;
            overflow: hidden;
        }

        .disease-category::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 4px;
            background: var(--primary);
            transform: scaleY(0);
            transition: var(--transition);
        }

        .disease-category:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
            border-color: var(--primary-light);
        }

        .disease-category:hover::before {
            transform: scaleY(1);
        }

        .disease-category.active {
            background: var(--background-alt);
            border-color: var(--primary);
            box-shadow: var(--shadow-hover);
        }

        .disease-category.active::before {
            transform: scaleY(1);
        }

        .disease-icon {
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            color: white;
            border-radius: 50%;
            font-size: 1.5rem;
            flex-shrink: 0;
        }

        .disease-info {
            flex: 1;
        }

        .disease-info h3 {
            color: var(--primary);
            margin-bottom: 0.5rem;
            font-size: 1.2rem;
        }

        .disease-info p {
            color: var(--text-medium);
            font-size: 0.9rem;
        }

        .therapy-player {
            background: white;
            border-radius: var(--radius);
            padding: 2rem;
            box-shadow: var(--shadow);
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .player-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid var(--border);
        }

        .player-header h2 {
            color: var(--primary);
            font-size: 1.8rem;
        }

        .guqin-display {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin-bottom: 2rem;
            background: var(--background-alt);
            border-radius: var(--radius);
            padding: 1.5rem;
            position: relative;
        }

        .guqin-image {
            width: 220px;
            height: 160px;
            background: white;
            border-radius: var(--radius);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
            border: 2px solid var(--border);
            box-shadow: var(--shadow);
            overflow: hidden;
        }

        .guqin-image img {
            max-width: 100%;
            max-height: 100%;
            border-radius: var(--radius);
        }

        .guqin-name {
            font-size: 1.3rem;
            color: var(--primary);
            font-weight: 600;
            text-align: center;
        }

        .player-info {
            text-align: center;
            margin-bottom: 2rem;
        }

        .player-info h3 {
            font-size: 1.6rem;
            color: var(--text-dark);
            margin-bottom: 0.5rem;
        }

        .player-info p {
            color: var(--text-medium);
            font-size: 1rem;
        }

        .player-controls {
            display: flex;
            justify-content: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

        .player-btn {
            background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
            color: white;
            border: none;
            border-radius: 50%;
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
            font-size: 1.3rem;
            box-shadow: var(--shadow);
        }

        .player-btn:hover {
            transform: scale(1.1);
            box-shadow: var(--shadow-hover);
        }

        .player-btn:active {
            transform: scale(0.95);
        }

        .therapy-progress-container {
            margin-bottom: 0.5rem;
        }

        .therapy-progress {
            height: 8px;
            background: var(--border);
            border-radius: 4px;
            overflow: hidden;
        }

        .therapy-progress-bar {
            height: 100%;
            background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
            width: 0%;
            transition: width 0.3s ease;
            border-radius: 4px;
        }

        .therapy-timer {
            display: flex;
            justify-content: space-between;
            font-size: 0.9rem;
            color: var(--text-light);
            margin-bottom: 2rem;
        }

        .recommended-tracks {
            margin-top: 2rem;
        }

        .track-list {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            margin-top: 1rem;
        }

        .track-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem;
            background: var(--background-alt);
            border-radius: var(--radius);
            cursor: pointer;
            transition: var(--transition);
            border-left: 4px solid transparent;
        }

        .track-item:hover {
            background: var(--primary-light);
            color: white;
            transform: translateX(5px);
        }

        .track-item.active {
            background: var(--primary);
            color: white;
            border-left-color: var(--secondary);
        }

        .track-info h4 {
            font-size: 1.1rem;
            margin-bottom: 0.25rem;
        }

        .track-info p {
            font-size: 0.85rem;
            color: inherit;
            opacity: 0.9;
        }

        .track-duration {
            font-size: 0.9rem;
            font-weight: 500;
        }

        .therapy-settings {
            margin-top: 2rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border);
        }

        .setting-group {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.2rem;
        }

        .setting-group label {
            color: var(--text-medium);
            font-weight: 500;
        }

        .setting-group input[type="range"] {
            width: 60%;
            height: 6px;
            border-radius: 3px;
            background: var(--border);
            outline: none;
            -webkit-appearance: none;
        }

        .setting-group input[type="range"]::-webkit-slider-thumb {
            -webkit-appearance: none;
            width: 18px;
            height: 18px;
            border-radius: 50%;
            background: var(--primary);
            cursor: pointer;
            box-shadow: var(--shadow);
        }

        .setting-group select {
            padding: 0.6rem;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            background: white;
            color: var(--text-dark);
            font-family: inherit;
        }

        .audio-player {
            display: none;
        }

        .therapy-description {
            margin-top: 2rem;
            padding: 1.5rem;
            background: var(--background-alt);
            border-radius: var(--radius);
            border-left: 4px solid var(--primary);
        }

        .therapy-description h3 {
            color: var(--primary);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .therapy-description p {
            color: var(--text-medium);
            line-height: 1.7;
        }

        .therapy-theory {
            margin-top: 1rem;
            padding: 1rem;
            background: rgba(125, 185, 182, 0.1);
            border-radius: var(--radius);
            border-left: 3px solid var(--secondary);
        }

        .therapy-theory h4 {
            color: var(--primary-dark);
            margin-bottom: 0.5rem;
            font-size: 1rem;
        }

        .therapy-theory p {
            color: var(--text-medium);
            font-size: 0.9rem;
            line-height: 1.5;
        }

        footer {
            text-align: center;
            margin-top: 3rem;
            padding: 1.5rem;
            color: var(--text-light);
            font-size: 0.9rem;
            border-top: 1px solid var(--border);
        }

        .floating-elements {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            pointer-events: none;
            z-index: -1;
        }

        .floating-element {
            position: absolute;
            background: rgba(74, 111, 165, 0.03);
            border-radius: 50%;
        }

        .floating-element:nth-child(1) {
            width: 100px;
            height: 100px;
            top: 10%;
            left: 5%;
        }

        .floating-element:nth-child(2) {
            width: 150px;
            height: 150px;
            top: 60%;
            right: 5%;
        }

        .floating-element:nth-child(3) {
            width: 80px;
            height: 80px;
            bottom: 10%;
            left: 10%;
        }
		
/* ================================
   移动设备响应式设计
   ================================ */

@media (max-width: 1024px) {
    body {
        padding: 15px;
    }
    
    .container {
        padding: 0;
        padding-bottom: 80px;
    }
    
    header {
        padding: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* 调整疾病选择区域高度 */
    .disease-selection {
        max-height: 30vh;
        overflow-y: auto;
    }
}

@media (max-width: 768px) {
    body {
        padding: 12px;
    }
    
    header {
        padding: 1.5rem;
        border-radius: 10px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .disease-selection,
    .therapy-player {
        padding: 1.5rem;
    }
    
    /* 进一步调整高度 */
    .disease-selection {
        max-height: 30vh;
    }
    
    .section-title {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }
    
    .section-title i {
        font-size: 1.2rem;
    }
    
    .disease-category {
        padding: 1.2rem;
    }
    
    .disease-info h3 {
        font-size: 1.1rem;
    }
    
    .disease-info p {
        font-size: 0.85rem;
    }
    
    .player-header h2 {
        font-size: 1.6rem;
    }
    
    .guqin-display {
        padding: 1.2rem;
    }
    
    .guqin-name {
        font-size: 1.2rem;
    }
    
    .player-info h3 {
        font-size: 1.4rem;
    }
    
    .player-info p {
        font-size: 0.95rem;
    }
    
    .therapy-timer {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    .track-info h4 {
        font-size: 1rem;
    }
    
    .track-info p {
        font-size: 0.85rem;
    }
    
    .setting-group {
        margin-bottom: 1rem;
    }
    
    .setting-group label {
        font-size: 0.95rem;
    }
    
    .therapy-description h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .therapy-description p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .therapy-theory h4 {
        font-size: 0.95rem;
    }
    
    .therapy-theory p {
        font-size: 0.85rem;
    }
    
    footer {
        padding: 1rem;
        font-size: 0.85rem;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    header {
        padding: 1.2rem;
        border-radius: 8px;
    }
    
    h1 {
        font-size: 1.6rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .disease-selection,
    .therapy-player {
        padding: 1.2rem;
        border-radius: 8px;
    }
    
    /* 小屏幕调整高度 */
    .disease-selection {
        max-height: 30vh;
    }
    
    .section-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .disease-category {
        padding: 1rem;
        gap: 0.8rem;
        min-height: auto;
    }
    
    .disease-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .guqin-display {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .guqin-image {
        width: 160px;
        height: 120px;
    }
    
    .player-info {
        margin-bottom: 1.5rem;
    }
    
    .player-controls {
        margin-bottom: 1.2rem;
    }
    
    .player-btn {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
    
    .recommended-tracks {
        margin-top: 1.5rem;
    }
    
    .track-list {
        margin-top: 0.8rem;
    }
    
    .therapy-settings {
        margin-top: 1.5rem;
        padding-top: 1.2rem;
    }
    
    .therapy-description {
        margin-top: 1.5rem;
        padding: 1.2rem;
    }
    
    /* 小屏幕隐藏浮动元素 */
    .floating-elements {
        display: none;
    }
}

/* 横向模式优化 */
@media (max-height: 600px) and (orientation: landscape) {
    .disease-selection {
        max-height: 30vh;
    }
    
    .disease-category {
        padding: 0.8rem 1rem;
    }
    
    .disease-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
    .disease-selection {
        max-height: 30vh;
    }
    
    .disease-category {
        padding: 0.8rem;
    }
}