* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    font-size: 1rem;
    line-height: 1.6;
    background-color: #f5f5f5;
}

/* 头部样式 */
header {
    background: #2c3e50;
    color: white;
    padding: 0.25rem 0.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    max-width: 75rem;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}
.svg-image {
    width: 10rem;
    height: auto;
  }

/* 菜单样式 */
.menu-icon {
    font-size: 1.5rem;
    font-weight: bold;
    display: inline-block;
    padding: 0.5rem;
    cursor: pointer;
    transition: background 0.3s;
}

.menu-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
}
  
.dropdown-menu {
    display: none; /* 默认隐藏 */
    position: absolute;
    background: #2c3e50;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    border-radius: 0.5rem;
    box-shadow: 0 0.12rem 0.25rem rgba(0, 0, 0, 0.1);
}

.dropdown-menu li {
    padding: 0.5rem 1rem;
}

.dropdown-menu li a {
    color: white;
    text-decoration: none;
    display: block;
    transition: background 0.3s;
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
}

/* 主内容区 */
main {
    max-width: 75rem;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* 文章卡片 */
.post-card {
    background: white;
    border-radius: 0.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 0.12rem 0.25rem rgba(0,0,0,0.1);
}

.post-date {
    color: #666;
    font-size: 0.9rem;
}

.download-btn {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    margin-top: 1rem;
    transition: background 0.3s;
    transform: scale(1);
    transition: transform 0.2s;
}

.download-btn:hover {
    background: #2980b9;
}

.download-btn:active {
    transform: scale(0.98); /* 点击时轻微缩小 */
  }

video {
    max-width: 100%; /* 视频宽度最大为容器宽度 */
    height: auto;   /* 高度自动调整，保持宽高比 */
    display: block; /* 防止视频出现内联元素的间隙 */
    margin: 0 auto; /* 居中显示（可选） */
}
ul {
    margin-left: 0.5rem;
    padding-left: 1rem;
    list-style-position: outside;
    }

@media (max-width: 768px) {
    .logo {
        font-size: 1rem;
        font-weight: bold;
    }
    .svg-image {
        width: 8rem;
        height: auto;
      }

    body {
        font-size: 0.8rem;
    }

    ul {
        margin-left: 0.2rem; /* 移动端减少缩进 */
    }
    
    .post-card {
        padding: 1rem; /* 缩小内边距 */
    }
}

/* 版本信息 */
.version-info {
    margin: 0.5rem 0;
}

/* 页脚 */
footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}