/* 全局样式 - 配色：深墨绿 #1a3a3a + 樱花粉 #ffe0f0 */
:root {
    --primary-dark: #1a3a3a;
    --accent-pink: #ffe0f0;
    --text-light: #f0f0f0;
    --text-dark: #333;
    --placeholder-bg: #e0e0e0;
    --overlay-bg: rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
}

/* 导航栏样式 - 半透明浮层效果 */
nav {
    background-color: rgba(26, 58, 58, 0.7);
    backdrop-filter: blur(5px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 224, 240, 0.3);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-pink);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a:hover,
.nav-links a.active {
    background-color: var(--accent-pink);
    color: var(--primary-dark);
}

/* 首页封面图区域（几何拼接） */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background-color: var(--primary-dark);
}

.shape {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.shape-pink-1 {
    background-color: var(--accent-pink);
    clip-path: polygon(0 0, 50% 0, 30% 100%, 0 100%);
    opacity: 0.9;
}

.shape-dark-1 {
    background-color: var(--primary-dark);
    clip-path: polygon(50% 0, 100% 0, 70% 100%, 30% 100%);
    opacity: 0.9;
}

.shape-pink-2 {
    background-color: var(--accent-pink);
    clip-path: polygon(70% 0, 100% 0, 100% 60%, 60% 100%);
    opacity: 0.7;
    mix-blend-mode: multiply;
}

.shape-dark-2 {
    background-color: var(--primary-dark);
    clip-path: polygon(0 60%, 40% 100%, 0 100%);
    opacity: 0.8;
}

.shape-accent {
    background-color: #ffb4a2;
    clip-path: polygon(80% 20%, 100% 40%, 90% 80%, 60% 60%);
    opacity: 0.5;
    mix-blend-mode: overlay;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-content h1 {
    color: var(--accent-pink);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content h2,
.hero-content p {
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* 主要内容容器 */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    margin-top: 100px;
}

h1, h2, h3 {
    color: var(--accent-pink);
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

/* 图片占位符样式（如果还有占位符需要保留） */
.img-placeholder {
    background-color: var(--placeholder-bg);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    border-radius: 8px;
    margin: 1rem 0;
    font-size: 0.9rem;
    text-align: center;
    width: 100%;
}

/* 表格样式 */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 224, 240, 0.2);
}

th {
    background-color: rgba(255, 224, 240, 0.2);
    color: var(--accent-pink);
    font-weight: bold;
}

/* 列表样式 */
ul, ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

/* 页脚 */
footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(255, 224, 240, 0.3);
    margin-top: 2rem;
    color: rgba(240, 240, 240, 0.7);
}

/* 辅助类 */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

/* 下载按钮样式（新增） */
.download-btn {
    display: inline-block;
    background-color: #E67E22;
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin: 10px 0;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.download-btn:hover {
    background-color: #d35400;
    color: white;
}

/* 下载区块样式（可选） */
.download-section {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: rgba(255, 224, 240, 0.1);
    border-radius: 8px;
    text-align: center;
}