        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: "HarmonyOS Sans SC", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background-color: var(--background);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
        }

        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 { 
            width: 90%; 
            max-width: 1200px; 
            margin: 0 auto; 
            padding: 0 20px; 
        }

/* 添加在文件最下方 - H1至H6样式 */

/* 基础标题样式 */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    position: relative;
}

/* H1 主标题 - 页面标题 */
h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 0.5em;
    margin-bottom: 0.8em;
    padding-bottom: 0.5em;
    text-align: center; /* 居中 */
    color: var(--primary); /* 引用大红色 */
    border-bottom: 3px solid var(--secondary);
    width: 100%;
}

/* H1 伪元素装饰 */
h1::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--accent);
}

/* H2 副标题 */
h2 {
    font-size: 2rem;
    font-weight: 650;
    color: var(--primary-dark);
    margin-top: 2em;
    margin-bottom: 0.7em;
    padding-left: 0.5em;
    border-left: 4px solid var(--secondary);
}

/* H3 三级标题 */
h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 1.8em;
    margin-bottom: 0.6em;
    padding-bottom: 0.3em;
    border-bottom: 2px solid var(--border);
}

/* H4 四级标题 */
h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-medium);
    margin-top: 1.6em;
    margin-bottom: 0.5em;
}

/* H5 五级标题 */
h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-medium);
    margin-top: 1.4em;
    margin-bottom: 0.4em;
    font-style: italic;
}

/* H6 六级标题 */
h6 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin-top: 1.2em;
    margin-bottom: 0.3em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 特殊容器内的标题样式调整 */
.colorcase h1,
.colorcase h2,
.colorcase h3,
.colorcase h4,
.colorcase h5,
.colorcase h6 {
    margin-top: 1em;
    margin-bottom: 0.6em;
}

/* 响应式设计 */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
        padding-bottom: 0.4em;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    h4 {
        font-size: 1.3rem;
    }
    
    h5 {
        font-size: 1.15rem;
    }
    
    h6 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
        padding-bottom: 0.3em;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    h4 {
        font-size: 1.2rem;
    }
    
    h5 {
        font-size: 1.1rem;
    }
    
    h6 {
        font-size: 0.95rem;
    }
}

/* 特殊样式变体 */
h1.primary {
    color: var(--primary);
}

h1.secondary {
    color: var(--secondary);
}

h1.accent {
    color: var(--accent);
}

/* 装饰性标题 */
h1.decorative {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0.2em 0;
}

/* 边框标题 */
h2.bordered {
    padding: 0.5em;
    border: 2px solid var(--secondary);
    border-radius: var(--radius);
    background-color: var(--background-alt);
}