/* 掌纹命运解析 - 主样式表 */

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 全局变量定义 */
:root {
    /* 主色调 - 神秘东方风格增强版 */
    --primary-color: #7d0f5f; /* 更深的紫红色调 */
    --secondary-color: #c9a227; /* 古金色 */
    --accent-color: #350066; /* 更深邃的靛青色 */
    --text-color: #222222; /* 更深的文本颜色 */
    --light-text: #f2f2f2; /* 稍微柔和的白色 */
    --dark-bg: #151525; /* 更深邃的暗色背景 */
    --light-bg: #f5f5f5;
    --medium-bg: #e0e0e0;
    
    /* 暗色模式增强色彩 */
    --dark-mode-bg: #13131f; /* 更深的背景 */
    --dark-mode-card-bg: #1f1f2e; /* 更深邃的卡片背景 */
    --dark-mode-highlight: #c9a227; /* 古金色高亮 */
    --dark-mode-primary: #ae2a6d; /* 更优雅的紫红色 */
    --dark-mode-text: #f0f0f0; /* 高对比度文本 */
    --dark-mode-secondary-text: #d0d0d0; /* 次要文本 */
    --dark-mode-border: rgba(156, 15, 95, 0.5); /* 边框色 */
    --dark-mode-shadow: rgba(0, 0, 0, 0.6); /* 更强的阴影 */
    
    /* 字体 */
    --main-font: 'Noto Sans', Arial, Helvetica, sans-serif;
    --decorative-font: 'Cinzel', Georgia, Times, serif;
    
    /* 尺寸 */
    --container-width: 1200px;
    --header-height: 65px;
    --footer-height: 220px;
    
    /* 阴影 */
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    --hover-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    --dark-mode-card-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    --dark-mode-hover-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    
    /* 神秘感增强 */
    --mystic-gradient: linear-gradient(135deg, rgba(125, 15, 95, 0.05) 0%, rgba(53, 0, 102, 0.1) 100%);
    --mystic-glow: 0 0 15px rgba(201, 162, 39, 0.2);
}

/* 通用样式 */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--main-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-bg);
    background-image: url('../assets/images/subtle-pattern.png');
    background-repeat: repeat;
    letter-spacing: 0.02em; /* 增加字母间距，提高可读性 */
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--decorative-font);
    font-weight: 600; 
    color: var(--primary-color);
    margin-bottom: 0.8em;
    letter-spacing: 0.04em; /* 增加标题字母间距 */
    line-height: 1.3; /* 优化标题行高 */
}

p {
    margin-bottom: 1.2em;
    line-height: 1.8; /* 增加行高 */
    color: var(--text-color); /* 更深的文本颜色，提高可读性 */
    font-weight: 400;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
    font-weight: 500; /* 增加链接字体粗细 */
    position: relative;
}

a:hover {
    color: var(--secondary-color);
    text-shadow: var(--mystic-glow);
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-family: var(--main-font);
}

/* 自定义按钮样式 */
.cta-button, 
.upload-btn, 
.camera-btn, 
.capture-btn, 
.analyze-btn, 
.save-btn, 
.share-btn, 
.new-analysis-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--light-text);
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.cta-button::before, 
.upload-btn::before, 
.camera-btn::before, 
.capture-btn::before, 
.analyze-btn::before, 
.save-btn::before, 
.share-btn::before, 
.new-analysis-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: all 0.5s ease;
    z-index: -1;
}

.cta-button:hover, 
.upload-btn:hover, 
.camera-btn:hover, 
.capture-btn:hover, 
.analyze-btn:hover, 
.save-btn:hover, 
.share-btn:hover, 
.new-analysis-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.cta-button:hover::before, 
.upload-btn:hover::before, 
.camera-btn:hover::before, 
.capture-btn:hover::before, 
.analyze-btn:hover::before, 
.save-btn:hover::before, 
.share-btn:hover::before, 
.new-analysis-btn:hover::before {
    left: 100%;
}

.secondary-button {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.secondary-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    z-index: -1;
    opacity: 0.1;
}

.secondary-button:hover {
    color: var(--light-text);
}

.secondary-button:hover::before {
    width: 100%;
    opacity: 1;
}

/* 导航样式 */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(245, 245, 245, 0.92);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
    transition: all 0.4s ease;
}

.site-header:hover {
    background-color: rgba(245, 245, 245, 0.97);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.logo h1::after {
    content: '';
    position: absolute;
    width: 30%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    bottom: -3px;
    left: 0;
    transition: width 0.3s ease;
}

.logo:hover h1::after {
    width: 80%;
}

.logo .tagline {
    font-size: 0.8rem;
    color: var(--accent-color);
    margin-bottom: 0;
    opacity: 0.9;
    font-style: italic;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin-right: 25px;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    display: block;
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
    padding: 6px 2px;
    letter-spacing: 0.03em;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
    transition: all 0.3s ease;
}

.main-nav ul li a:hover,
.main-nav ul li a.active {
    color: var(--primary-color);
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.main-nav ul li a.active::after {
    width: 100%;
    left: 0;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
}

/* 导航栏中的CTA按钮 */
.nav-cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--light-text);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease, transform 0.2s ease;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.nav-cta-button::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: all 0.5s ease;
    z-index: -1;
}

.nav-cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.nav-cta-button:hover::before {
    left: 100%;
}

/* 汉堡菜单按钮样式 */
.menu-toggle {
    display: none;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 1010;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.menu-toggle span:nth-child(1) {
    top: 6px;
}

.menu-toggle span:nth-child(2) {
    top: 14px;
}

.menu-toggle span:nth-child(3) {
    top: 22px;
}

.menu-toggle.open span:nth-child(1) {
    top: 14px;
    transform: rotate(135deg);
}

.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
    top: 14px;
    transform: rotate(-135deg);
}

/* 首页英雄区域 */
.hero-section {
    padding: 140px 0 100px;
    background-image: var(--mystic-gradient);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(201, 162, 39, 0.1);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/constellation-bg.png');
    background-size: cover;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.hero-section .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    padding-right: 40px;
}

.main-title {
    font-size: 3.5rem;
    margin-bottom: 24px;
    color: var(--accent-color);
    text-shadow: 0 0 3px rgba(201, 162, 39, 0.1);
    position: relative;
}

.main-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 36px;
    color: var(--text-color);
    max-width: 600px;
    padding-bottom: 20px;
    font-weight: 300;
    line-height: 1.8;
    position: relative;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Emoji手掌容器样式 */
.emoji-palm-container {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: radial-gradient(circle, rgba(156, 15, 95, 0.1) 0%, rgba(75, 0, 130, 0.2) 100%);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1), inset 0 0 50px rgba(212, 175, 55, 0.2);
    overflow: hidden;
    transition: all 0.5s ease;
}

.emoji-palm-container:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), inset 0 0 70px rgba(212, 175, 55, 0.3);
    transform: translateY(-10px);
}

.emoji-palm {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.emoji-hand {
    font-size: 120px;
    z-index: 10;
    position: absolute;
    transform-origin: bottom center;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.emoji-sparkle1, .emoji-sparkle2, .emoji-sparkle3 {
    font-size: 24px;
    position: absolute;
    z-index: 5;
}

.emoji-sparkle1 {
    top: 25%;
    left: 30%;
    transform-origin: center;
}

.emoji-sparkle2 {
    top: 35%;
    right: 35%;
    transform-origin: center;
}

.emoji-sparkle3 {
    bottom: 40%;
    left: 40%;
    transform-origin: center;
}

.emoji-crystal-ball {
    font-size: 40px;
    position: absolute;
    bottom: 5%;
    z-index: 5;
    transform-origin: center;
}

@keyframes pulse {
    0% { transform: rotate(10deg) scale(1); }
    50% { transform: rotate(10deg) scale(1.05); }
    100% { transform: rotate(10deg) scale(1); }
}

@keyframes twinkle {
    0% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
    100% { opacity: 0.3; transform: scale(0.8); }
}

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

.palm-hero {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* 功能区域样式 */
.how-it-works {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(156, 15, 95, 0.1);
    border-radius: 50%;
}

.feature-icon img {
    width: 40px;
    height: 40px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 0;
}

/* 掌纹分析部分 */
.analysis-section {
    padding: 80px 0;
    background-color: rgba(156, 15, 95, 0.05);
}

.analysis-container {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
}

.input-container {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.preview-container {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.upload-box {
    border: 2px dashed var(--primary-color);
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    margin-bottom: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-box:hover {
    background-color: rgba(156, 15, 95, 0.05);
}

.upload-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(156, 15, 95, 0.1);
    border-radius: 50%;
}

.upload-icon img {
    width: 60px;
    height: 60px;
}

.file-input {
    display: none;
}

.small-text {
    font-size: 0.9rem;
    color: #666;
    margin-top: 10px;
}

.or-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.or-divider::before,
.or-divider::after {
    content: '';
    display: block;
    width: calc(50% - 30px);
    height: 1px;
    background-color: #ddd;
    position: absolute;
    top: 50%;
}

.or-divider::before {
    left: 0;
}

.or-divider::after {
    right: 0;
}

.or-divider span {
    display: inline-block;
    padding: 0 15px;
    background-color: #fff;
    position: relative;
    color: #666;
}

.camera-container {
    text-align: center;
    margin-bottom: 30px;
}

.camera-btn, .capture-btn {
    width: 100%;
    margin-bottom: 10px;
}

#cameraPreview {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600; /* 增加标签字体粗细 */
    color: var(--text-color);
}

.form-group select, 
.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--main-font);
    font-size: 1rem;
    letter-spacing: 0.02em; /* 增加字母间距 */
}

.analyze-btn {
    width: 100%;
    margin-top: 10px;
}

.palm-preview {
    position: relative;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.palm-visualization {
    position: relative;
    width: 60%;
    max-width: 500px;
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 550px;
}

#analyzedPalmImage {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.palm-markers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.detection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.detection-status {
    text-align: center;
    margin-top: 20px;
}

.status-indicator {
    font-weight: 500;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #eee;
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: var(--primary-color);
    width: 0%;
    transition: width 0.3s ease;
}

/* 结果展示部分 */
.results-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.results-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.results-overview {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.key-findings {
    flex: 1;
    min-width: 35%;
    background-color: rgba(250, 250, 250, 0.8);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.key-findings h3 {
    margin-bottom: 20px;
    color: var(--accent-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
}

.key-findings ul {
    list-style-position: inside;
    padding-left: 0;
}

.key-findings ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
    line-height: 1.8; /* 增加行高 */
    font-size: 1.05rem; /* 稍微增加字体大小 */
    color: #222222; /* 更深的文本颜色 */
}

.key-findings ul li::before {
    content: '•';
    color: var(--secondary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

.detailed-analysis {
    margin-bottom: 40px;
}

.analysis-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid #eee;
}

.tab-btn {
    padding: 10px 20px;
    background-color: #f0f0f0;
    border: none;
    border-radius: 4px 4px 0 0;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600; /* 增加字体粗细 */
    letter-spacing: 0.015em; /* 增加字母间距 */
}

.tab-btn:hover {
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.analysis-text {
    line-height: 1.8; /* 增加行高 */
    font-size: 1.05rem; /* 稍微增加字体大小 */
    letter-spacing: 0.015em; /* 增加字母间距 */
    color: #222222; /* 更深的文本颜色 */
}

.destiny-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.destiny-card {
    background-color: rgba(156, 15, 95, 0.05);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destiny-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.destiny-card h4 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-align: center;
}

.destiny-content {
    padding: 15px;
    line-height: 1.8; /* 增加行高 */
    font-size: 1.05rem; /* 稍微增加字体大小 */
    letter-spacing: 0.015em; /* 增加字母间距 */
    color: #222222; /* 更深的文本颜色 */
}

.save-results {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 关于我们部分 */
.about-section {
    padding: 80px 0;
    background-color: #fff;
}

.about-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.team-icons {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.team-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.icon-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.icon-circle:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.palm-expert {
    background: linear-gradient(135deg, #9c0f5f10, #9c0f5f30);
    border: 2px solid rgba(156, 15, 95, 0.2);
}

.ai-engineer {
    background: linear-gradient(135deg, #4b008210, #4b008230);
    border: 2px solid rgba(75, 0, 130, 0.2);
}

.ux-designer {
    background: linear-gradient(135deg, #d4af3710, #d4af3730);
    border: 2px solid rgba(212, 175, 55, 0.2);
}

.icon-emoji {
    font-size: 36px;
    margin-bottom: 8px;
}

.icon-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

.about-quote {
    background-color: rgba(156, 15, 95, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin-top: 20px;
}

.about-quote blockquote {
    font-family: var(--decorative-font);
    font-size: 1.3rem;
    color: var(--primary-color);
    text-align: center;
    margin: 0;
    line-height: 1.6;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

/* 页脚样式 */
.site-footer {
    background-color: #1a1a2e; /* 更深邃的紫色背景 */
    color: var(--light-text);
    padding: 60px 0 30px;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo h2 {
    color: var(--light-text);
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.footer-links h3,
.footer-contact h3,
.footer-resources h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.footer-links ul,
.footer-resources ul {
    list-style: none;
}

.footer-links ul li,
.footer-resources ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-resources ul li a {
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 12px;
    font-weight: 500;
}

.footer-links ul li a::before,
.footer-resources ul li a::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.footer-links ul li a:hover,
.footer-resources ul li a:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 8px rgba(201, 162, 39, 0.3);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-contact a {
    color: var(--secondary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    text-shadow: 0 0 8px rgba(201, 162, 39, 0.3);
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: rgba(201, 162, 39, 0.1);
}

.social-link:hover {
    color: var(--secondary-color);
    background-color: rgba(201, 162, 39, 0.2);
    text-shadow: 0 0 8px rgba(201, 162, 39, 0.3);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 500;
}

.disclaimer {
    margin-top: 15px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.footer-meta-nav {
    margin-top: 20px;
    font-size: 0.9rem;
}

.footer-meta-nav a {
    color: var(--secondary-color);
    margin: 0 8px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.footer-meta-nav a:hover {
    text-shadow: 0 0 8px rgba(201, 162, 39, 0.3);
}

/* 分析过程样式 */
.process-visualization {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-between;
    align-items: flex-start;
}

.palm-image-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    flex: 0 0 45%;
}

.palm-lines-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.palm-line-legend {
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 5px;
    padding: 8px;
    font-size: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 4;
}

.detection-parameters {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
}

.steps-list {
    margin-left: 1.8rem;
    margin-bottom: 1.8rem;
}

.steps-list li {
    color: #ffebb5; /* 明亮的浅黄色，提高可读性 */
    margin-bottom: 0.8rem;
    position: relative;
    line-height: 1.5;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.steps-list li::before {
    content: "▶";
    color: var(--dark-mode-highlight);
    position: absolute;
    left: -1.8rem;
    font-size: 0.8rem;
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
    top: 0.25rem;
}

.parameters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.parameter-group {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.parameter-group h5 {
    font-family: var(--main-font);
    color: var(--accent-color);
    font-size: 1rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding-bottom: 0.5rem;
}

.parameter-value {
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.parameter-description {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.parameters-table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.parameters-table th, .parameters-table td {
    padding: 8px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.parameters-table th {
    background-color: rgba(156, 15, 95, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.high-quality {
    color: #2e7d32;
    font-weight: 500;
}

.medium-quality {
    color: #f57c00;
}

.low-quality {
    color: #c62828;
}

/* 添加掌纹分析报告中的布局优化 */
#processTab .process-visualization {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

#processTab .palm-image-container {
    flex: 1;
    min-width: 280px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    background-color: rgba(255, 255, 255, 0.7);
    padding: 15px;
}

#processTab .detection-parameters {
    flex: 1;
    min-width: 280px;
    padding: 20px;
    background-color: rgba(38, 38, 48, 0.85);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(156, 15, 95, 0.2);
}

/* 确保图像正确显示 */
#markedPalmImage {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

#palmLinesCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none;
    z-index: 5;
}

/* 动画效果 */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.highlight {
    animation: pulse 2s infinite;
}

/* 过程跟踪指示器 */
.process-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.step-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    display: inline-block;
    margin-right: 0.5rem;
}

.complete .step-indicator {
    background-color: #2ecc71;
}

.active .step-indicator {
    background-color: var(--primary-color);
    animation: pulse 1.5s infinite;
}

.pending .step-indicator {
    background-color: #bdc3c7;
}

/* 工作原理部分增强样式 */

/* 小标题样式 */
.subsection-title {
    font-size: 1.8rem;
    text-align: center;
    margin: 2rem 0 1.5rem;
    color: var(--primary-color);
}

/* 流程图容器 */
.process-flow-container {
    margin-bottom: 3rem;
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

/* 流程图样式 */
.process-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 0;
}

/* 流程步骤 */
.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 150px;
    position: relative;
}

/* 步骤编号 */
.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 2;
}

/* 步骤内容 */
.step-content {
    text-align: center;
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
    height: 100%;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* 步骤悬停效果 */
.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.process-step:hover .step-content {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.step-content h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color); /* 修改为主色调，更加醒目 */
    font-size: 1.1rem;
    font-weight: 700; /* 增加标题粗细 */
    transition: color 0.3s ease;
}

.step-content p {
    font-size: 0.95rem; /* 稍微增加字体大小 */
    margin-bottom: 0;
    line-height: 1.5; /* 增加行高 */
    transition: color 0.3s ease;
    color: #222222; /* 更深的文本颜色，提高可读性 */
    font-weight: 500; /* 增加文字粗细 */
}

/* 流程箭头 */
.process-arrow {
    font-size: 1.5rem;
    color: var(--secondary-color);
    padding: 0 0.5rem;
    font-weight: bold;
}

/* 手掌关键点示意图容器 */
.palm-landmarks-container {
    margin-bottom: 3rem;
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

/* 手掌关键点示意图样式 */
.palm-landmarks-demo {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

/* 手掌轮廓 */
.palm-outline {
    position: relative;
    width: 300px;
    height: 400px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 手掌形状 */
.palm-shape {
    position: absolute;
    width: 200px;
    height: 280px;
    background-color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(156, 15, 95, 0.3);
    border-radius: 100px 100px 60px 60px;
    top: 100px;
    left: 50px;
}

/* 手指样式 */
.finger {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

/* 拇指 */
.thumb {
    width: 40px;
    height: 100px;
    top: 190px;
    left: 30px;
    transform: rotate(-30deg);
}

/* 食指 */
.index {
    width: 35px;
    height: 120px;
    top: 50px;
    left: 80px;
}

/* 中指 */
.middle {
    width: 35px;
    height: 130px;
    top: 35px;
    left: 135px;
}

/* 无名指 */
.ring {
    width: 35px;
    height: 120px;
    top: 50px;
    left: 190px;
}

/* 小指 */
.pinky {
    width: 30px;
    height: 90px;
    top: 80px;
    left: 230px;
}

/* 关节点 */
.joint {
    width: 12px;
    height: 12px;
    background-color: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* 手腕点 */
.wrist {
    position: absolute;
    top: 350px;
    left: 150px;
}

/* 掌纹线 */
.palm-line {
    position: absolute;
    border-radius: 100px;
    border: 2px solid;
}

/* 生命线 */
.life-line {
    width: 60px;
    height: 150px;
    border-color: #e74c3c;
    border-left: none;
    border-bottom: none;
    border-top-right-radius: 100px;
    border-bottom-right-radius: 0;
    top: 160px;
    left: 120px;
    transform: rotate(-10deg);
}

/* 智慧线 */
.head-line {
    width: 140px;
    height: 20px;
    border-color: #3498db;
    border-right: none;
    border-bottom: none;
    top: 220px;
    left: 80px;
}

/* 感情线 */
.heart-line {
    width: 150px;
    height: 30px;
    border-color: #9b59b6;
    border-right: none;
    border-bottom: none;
    border-top-left-radius: 20px;
    top: 180px;
    left: 70px;
}

/* 掌纹线标签 */
.line-label {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.life-line-label {
    top: 200px;
    left: 85px;
    color: #e74c3c;
}

.head-line-label {
    top: 225px;
    left: 130px;
    color: #3498db;
}

.heart-line-label {
    top: 170px;
    left: 110px;
    color: #9b59b6;
}

/* 关键点信息 */
.landmarks-info {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.landmarks-info h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.landmarks-info ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.landmarks-info li {
    margin-bottom: 0.5rem;
}

/* 掌纹线特征分析示例 */
.palmlines-analysis-container {
    margin-bottom: 3rem;
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.palmlines-examples {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.palmline-example {
    text-align: center;
}

.palmline-example h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.example-visual {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.line-type-demo {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 180px;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.demo-line {
    width: 120px;
    height: 60px;
    margin-bottom: 1rem;
    position: relative;
}

/* 生命线样式 */
.long-line {
    border-left: 3px solid #e74c3c;
    border-radius: 50px 0 0 50px;
    height: 80px;
}

.short-line {
    border-left: 3px solid #e74c3c;
    border-radius: 50px 0 0 50px;
    height: 40px;
}

.deep-line {
    border-left: 5px solid #e74c3c;
    border-radius: 50px 0 0 50px;
    height: 60px;
}

/* 智慧线样式 */
.straight-line {
    border-bottom: 3px solid #3498db;
    width: 100px;
}

.curved-line {
    width: 100px;
    height: 40px;
    border-bottom: 3px solid #3498db;
    border-radius: 0 0 50px 50px;
}

.forked-line {
    position: relative;
}

.forked-line:before, .forked-line:after {
    content: '';
    position: absolute;
    top: 30px;
    left: 10px;
    width: 50px;
    border-bottom: 3px solid #3498db;
}

.forked-line:before {
    transform: rotate(-15deg);
}

.forked-line:after {
    transform: rotate(15deg);
    left: 50px;
}

/* 感情线样式 */
.high-line {
    border-bottom: 3px solid #9b59b6;
    width: 100px;
    margin-top: 10px;
}

.low-line {
    border-bottom: 3px solid #9b59b6;
    width: 100px;
    margin-top: 50px;
}

.wavy-line {
    position: relative;
}

.wavy-line:before {
    content: '';
    position: absolute;
    top: 25px;
    left: 10px;
    width: 100px;
    height: 20px;
    background: transparent;
    border-radius: 50%;
    border-top: 3px solid #9b59b6;
}

.wavy-line:after {
    content: '';
    position: absolute;
    top: 35px;
    left: 30px;
    width: 60px;
    height: 20px;
    background: transparent;
    border-radius: 50%;
    border-bottom: 3px solid #9b59b6;
}

.demo-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    font-size: 1rem;
}

.demo-meaning {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #666;
}

/* 结果展示示例 */
.results-demo-container {
    margin-bottom: 3rem;
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.demo-result-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #eee;
    overflow-x: auto;
}

.demo-tab-btn {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    font-size: 1rem;
    color: #666;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
}

.demo-tab-btn:hover {
    color: var(--primary-color);
}

.demo-tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    font-weight: 500;
}

.demo-tab-panel {
    display: none;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.demo-tab-panel.active {
    display: block;
}

.demo-reading {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.demo-destiny-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.demo-destiny-card {
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.demo-destiny-card h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

.demo-destiny-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .process-flow {
        flex-direction: column;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    
    .example-visual {
        gap: 1rem;
    }
    
    .line-type-demo {
        width: 160px;
    }
    
    /* 内容长表格滚动优化 */
    .parameters-table-container {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* 标签按钮溢出控制 */
    .demo-result-tabs, 
    .analysis-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 5px;
    }
    
    /* 内容容器统一溢出处理 */
    .process-flow-container,
    .palm-landmarks-container,
    .palmlines-analysis-container,
    .results-demo-container,
    .palm-landmarks-demo,
    .palmlines-examples {
        overflow-x: hidden;
        word-wrap: break-word;
    }
    
    /* 流程步骤文字溢出控制 */
    .step-content p,
    .demo-meaning,
    .landmarks-info p,
    .landmarks-info li {
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
        font-size: 0.9rem;
    }
    
    /* 确保图像不会溢出容器 */
    .palm-outline img,
    #markedPalmImage,
    #palmLinesCanvas,
    #analyzedPalmImage {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .palm-outline {
        width: 280px;
        height: 380px;
    }
    
    .palm-shape {
        width: 180px;
        height: 260px;
        left: 50px;
    }
    
    .demo-tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* 首页结果展示部分布局优化 */
@media screen and (min-width: 992px) {
    .results-overview {
        align-items: stretch;
    }
    
    .palm-visualization {
        flex: 0 0 55%;
        max-width: 500px;
    }
    
    .key-findings {
        flex: 0 0 42%;
        display: flex;
        flex-direction: column;
    }
    
    .key-findings h3 {
        margin-top: 0;
    }
    
    .key-findings ul {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }
}

/* 核心掌纹分析样式 */
.palm-lines-analysis {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.palm-line-section {
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    border-left: 5px solid transparent;
}

.palm-line-section:nth-child(1) {
    border-left-color: var(--primary-color);
}

.palm-line-section:nth-child(2) {
    border-left-color: var(--secondary-color);
}

.palm-line-section:nth-child(3) {
    border-left-color: var(--accent-color);
}

.palm-line-section h4 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.palm-line-section:nth-child(1) h4 {
    color: var(--primary-color);
}

.palm-line-section:nth-child(2) h4 {
    color: var(--secondary-color);
}

.palm-line-section:nth-child(3) h4 {
    color: var(--accent-color);
}

.palm-line-section .analysis-text {
    line-height: 1.8;
    font-size: 1.05rem;
}

/* 暗色模式支持 */
@media (prefers-color-scheme: dark) {
    /* 表格暗色模式优化 */
    .parameters-table {
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .parameters-table th {
        background-color: rgba(156, 15, 95, 0.25);
        color: var(--dark-mode-highlight);
    }
    
    .parameters-table td {
        color: var(--dark-mode-text);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    /* 文本颜色优化 */
    p, .text-content, li, 
    .parameter-description, .analysis-text, .small-text {
        color: var(--dark-mode-text);
    }
    
    /* 掌纹分析示例区域文本增强 */
    .demo-meaning,
    .demo-reading {
        color: #ffffff; /* 纯白色文本，确保最大对比度 */
        font-weight: 500;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        letter-spacing: 0.02em; /* 增加字符间距 */
    }
    
    /* 标签增强 */
    .demo-label {
        color: #ffcb6b; /* 明亮的金黄色 */
        font-weight: 600;
        text-shadow: 0 0 6px rgba(255, 203, 107, 0.4);
        font-size: 1.1rem;
    }
    
    /* 命运卡片内容增强 */
    .demo-destiny-card {
        background-color: rgba(42, 42, 52, 0.95);
        border: 1px solid rgba(156, 15, 95, 0.3);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    
    .demo-destiny-card h5 {
        color: #ff9eb7; /* 亮粉红色 */
        font-weight: bold;
        text-shadow: 0 0 6px rgba(255, 158, 183, 0.5);
        letter-spacing: 0.02em;
        font-size: 1.15rem;
        margin-bottom: 12px;
    }
    
    .demo-destiny-card p {
        color: #ffffff; /* 纯白色文本 */
        font-weight: 500;
        line-height: 1.6;
    }
    
    /* 标题增强 */
    .subsection-title {
        color: #ff9eb7; /* 亮粉红色 */
        font-weight: bold;
        text-shadow: 0 0 10px rgba(255, 158, 183, 0.6);
        letter-spacing: 0.03em;
    }
    
    /* 检测步骤文本增强 - 新增 */
    .steps-list {
        margin-left: 1.8rem;
        margin-bottom: 1.8rem;
    }
    
    .steps-list li {
        color: #ffebb5; /* 明亮的浅黄色，提高可读性 */
        margin-bottom: 0.8rem;
        position: relative;
        line-height: 1.5;
        font-weight: 500;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    }
    
    .steps-list li::before {
        content: "▶";
        color: var(--dark-mode-highlight);
        position: absolute;
        left: -1.8rem;
        font-size: 0.8rem;
        text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
        top: 0.25rem;
    }
    
    /* 流程图步骤内容暗色模式增强 */
    .step-content {
        background-color: var(--dark-mode-card-bg);
        box-shadow: var(--dark-mode-card-shadow);
        border: 1px solid rgba(156, 15, 95, 0.3);
    }
    
    .step-content h4 {
        color: #ffcb6b; /* 明亮的金黄色，提高标题对比度 */
        font-weight: bold;
        text-shadow: 0 0 5px rgba(255, 203, 107, 0.3);
        margin-bottom: 10px;
        font-size: 1.15rem;
    }
    
    .step-content p {
        color: #e8e8e8; /* 更亮的文本颜色，确保暗色模式下的可读性 */
        font-weight: 500;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }
    
    /* 流程步骤编号暗色模式增强 */
    .step-number {
        background-color: var(--dark-mode-highlight);
        color: var(--dark-bg);
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    }
    
    /* 流程箭头暗色模式增强 */
    .process-arrow {
        color: #ff9eb7;
        font-weight: bold;
        text-shadow: 0 0 8px rgba(156, 15, 95, 0.5);
    }
    
    /* 流程图容器暗色模式增强 */
    .process-flow {
        background-color: rgba(50, 50, 60, 0.5);
        padding: 20px;
        border-radius: 10px;
        border: 1px solid rgba(156, 15, 95, 0.2);
    }
    
    /* 流程标题暗色模式增强 */
    .process-flow-container .subsection-title {
        color: #ff9eb7;
        text-shadow: 0 0 5px rgba(156, 15, 95, 0.3);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 10px;
        margin-bottom: 20px;
    }
    
    /* 检测参数标题增强 */
    #processTab .detection-parameters h4 {
        color: #ffcb6b;
        font-size: 1.2rem;
        margin-bottom: 15px;
        text-shadow: 0 0 8px rgba(255, 203, 107, 0.4);
        border-bottom: 1px solid rgba(255, 203, 107, 0.3);
        padding-bottom: 8px;
    }
    
    /* 掌纹分析示例标题增强 */
    .palmline-example h4 {
        color: #ff9eb7; /* 亮粉红色 */
        font-weight: bold;
        text-shadow: 0 0 8px rgba(255, 158, 183, 0.5);
        letter-spacing: 0.02em;
        font-size: 1.25rem;
    }
}

/* 移动端固定"开始分析"按钮 */
.mobile-cta-button {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 999;
    text-decoration: none;
    display: none; /* 默认隐藏，只在移动端显示 */
    white-space: nowrap;
    transition: all 0.3s ease, opacity 0.5s ease;
    animation: pulseButton 2s infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
    opacity: 1; /* 默认可见 */
}

.mobile-cta-button:hover, .mobile-cta-button:active {
    background-color: var(--accent-color);
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

@keyframes pulseButton {
    0% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.05); }
    100% { transform: translateX(-50%) scale(1); }
}

/* 报告保存按钮增强 */
.save-btn {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.save-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-25deg);
    transition: all 0.3s ease;
}

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

/* 保存报告加载动画 */
.report-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.report-loading-content {
    background-color: var(--dark-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    color: var(--light-text);
    box-shadow: 0 0 20px rgba(156, 15, 95, 0.5);
    border: 1px solid var(--primary-color);
    max-width: 300px;
}

.report-loading-spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-left-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 

/* Coming Soon链接样式 */
.coming-soon {
    position: relative;
    cursor: help;
    opacity: 0.8;
}

.coming-soon::after {
    content: " 🔜";
    font-size: 0.75em;
    vertical-align: super;
    margin-left: 3px;
}

.coming-soon:hover::before {
    content: "Coming Soon";
    position: absolute;
    background: var(--accent-color);
    color: var(--light-text);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
    pointer-events: none;
    z-index: 100;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* 社交媒体链接的Coming Soon状态 */
.social-link.coming-soon {
    position: relative;
    opacity: 0.7;
    background-color: rgba(201, 162, 39, 0.05);
}

.social-link.coming-soon:hover {
    background-color: rgba(201, 162, 39, 0.15);
}