* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}

/* ========== 首页背景 ========== */
/* 只给index页面设置背景，about页面不受影响 */
.index-bg {
    /* 方案1 纯色背景，取消下面注释使用 */
    /* background-color: #1a202c; */

    /* 方案2 图片背景，推荐 */
    background-image: url("bg.jpg");
    background-size: cover;       /* 铺满屏幕 */
    background-position: center;  /* 图片居中 */
    background-attachment: fixed; /* 滚动时背景不动 */
    background-repeat: no-repeat;
}

body {
    color: #333;
    line-height: 1.6;
}

/* 导航栏 */
nav {
    background: rgba(0,0,0,0.6); /* 半透明黑导航，好看 */
    padding: 1rem;
}
nav a {
    color: white;
    text-decoration: none;
    margin-right: 24px;
    font-size:18px;
}
nav a:hover {
    color:#42a5f5;
}

.container {
    max-width: 900px;
    margin:40px auto;
    padding:0 20px;
    /* 文字区域加半透明白底色，防止文字看不清 */
    background: rgba(255,255,255,0.85);
    padding:30px;
    border-radius:12px;
}

h1 {
    margin-bottom:16px;
    color:#222;
}
p {
    margin-bottom:12px;
    font-size:17px;
}

/* 视频样式 */
video {
    width:100%;
    border-radius:8px;
    margin:20px 0;
}
