body {
    min-height: 100vh;
    background: linear-gradient(to bottom, #050505, #14112d);
    overflow: hidden;
    scroll-behavior: smooth;
    margin: 0;
}

.container > section {
    height: 100vh;
    color: white;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(to bottom, #050505, #14112d);
}


/* 首页叠加图片 */
#home .overlay-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; /* 可根据需求调整大小 */
    z-index: 1;
}

#home .overlay-img.cards {
    opacity: 0.8; /* 半透明效果 */
    z-index: 1;
}

#home .overlay-img.chip {
    width: 25%; /* 调整芯片图片的大小 */
    z-index: 2;
}

/* 文字容器确保在图片之上，并靠底部显示 */
#home .content {
    position: absolute;
    bottom:70px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
    width: 100%;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(51, 34, 96, 0.2), rgba(47, 40, 107, 0.2));
    box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 10px 50px;
    margin: 20px auto;
    width: 80%;
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1000;
}

.logo {
    font-size: 2em;
    color: white;
}

.slogan {
    text-align: center;
    color: white;
    font-size: 1em;
    flex-grow: 1;
    margin: 0 20px;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1em;
}

#home .content h1 {
    font-size: 2.8em; /* 更大一点 */
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(to bottom, #bdc3c7, #2c3e50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); /* 添加阴影增加立体感 */
    line-height: 1.2;
}

#home .content p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #9b9999;
}

#home .buttons-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.circle {
    width: 20px;
    height: 20px;
    background: linear-gradient(to right, #5f6163, #2c3e50);
    border-radius: 50%;
    z-index: 1;
    position: relative;
}

.line-left {
    width: 200px;
    height: 2px;
    background: linear-gradient(to right, #5f6163, #2c3e50);
    position: absolute;
    top: 50%;
    left: calc(50% - 220px);
    transform: translateY(-50%);
    z-index: 0;
}

.line-right {
    width: 200px;
    height: 2px;
    background: linear-gradient(to left, #5f6163, #2c3e50);
    position: absolute;
    top: 50%;
    right: calc(50% - 220px);
    transform: translateY(-50%);
    z-index: 0;
}

.button {
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1em; /* 比原来更大一点 */
    text-decoration: none; /* 移除下划线 */
    border: none;
    border-radius: 9px;
    cursor: pointer;
    transition: background-color 0.3s;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.button:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.button.left {
    left: calc(50% - 170px);
}

.button.right {
    right: calc(50% - 170px);
}
#canvas {
    opacity: 0;
    transition: opacity 6s cubic-bezier(0.4, 0, 0.2, 1); /* 前快后慢 */
}