body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #e0eafc, #cfdef3); /* 渐变背景色 */
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}




.navbar {
    position: fixed;
    top: 20px; /* 与顶部距离 */
    left: 50%;
    transform: translateX(-50%);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.6); /* 半透明背景 */
    padding: 1rem;
    border-radius: 15px; /* 圆角 */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    width: 60%; /* 导航栏宽度适应PC设备，稍微小一点 */
    max-width: 90%;
    display: flex;
    justify-content: center;
    overflow-x: auto; /* 水平滚动 */
    padding-left: 5rem; /* 左侧内边距 */
    padding-right: 2rem; /* 右侧内边距 */
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 1rem; /* 调整间距 */
    width: 100%;
    justify-content: center; /* 居中对齐项目 */
}

.navbar ul li {
    display: inline;
}

.navbar a {
    color: #6e57e0;
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem; /* 图标与文字间距 */
    white-space: nowrap; /* 不换行 */
}

.announcement {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.6); /* 半透明背景 */
    border-radius: 10px;
    margin: 120px auto 20px; /* 与导航栏及内容的距离 */
    padding: 1rem;
    max-width: 80%;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem; /* 图标与文字间距 */
}

.announcement i {
    color: #6e57e0;
}

.container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 2rem;
}

.card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.6); /* 半透明背景 */
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.image-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 10px;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .image-container {
        padding-top: 177.78%; /* 9:16 aspect ratio */
    }
}

.card h3 {
    margin: 1rem 0;
    color: #6e57e0;
}

.buttons {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.copy-btn, .view-btn {
    background: #6e57e0;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem; /* 图标与文字间距 */
}

.copy-btn:hover, .view-btn:hover {
    background: #5941c6;
}

footer {
    backdrop-filter: blur(10px);
    background: linear-gradient(to right, #e0eafc, #cfdef3); /* 渐变背景色 */
    padding: 1rem;
    text-align: center;
    margin-top: auto;
    color: #6e57e0;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 九宫格显示 */
    grid-gap: 10px; /* 图片框之间的间距 */
    padding: 10px; /* 内边距 */
    margin-top: 5px; /* 与顶部的外边距 */
}

.gallery-item {
    position: relative;
    width: 100%; /* 图片框宽度为父元素宽度的100% */
    overflow: hidden; /* 裁切溢出内容 */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover; /* 确保图片裁剪显示 */
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr); /* 在小屏幕上一行显示两列 */
    }
}

@media (min-width: 769px) {
    .gallery-item img {
        height: auto; /* 确保在宽屏设备上图片高度自适应 */
    }
}

   .btn-animated {
            position: relative;
            display: inline-block;
            padding: 0.5rem 1rem;
            margin: 0.5rem;
            color: #000;
            font-size: 1rem;
            text-align: center;
            text-decoration: none;
            text-transform: uppercase;
            border: 2px solid #000;
            border-radius: 5px;
            transition: background-color 0.3s, color 0.3s;
        }

        .btn-animated:hover {
            background-color: #000;
            color: #ffffff;
        }

        .btn-animated::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.3);
            transition: opacity 0.3s;
            opacity: 0;
            pointer-events: none;
        }

        .btn-animated:active::after {
            opacity: 1;
            transition: opacity 0.1s;
        }

        .credit {
            font-size: 12px;
        }

        .credit a {
            text-decoration: none;
            color: #6c757d;
        }

        .credit a:hover {
            color: #007bff;
        }

        .external {
            margin-right: 5px;
        }

        .cdn-icon {
            width: 20px;
            vertical-align: middle;
        }

        .we-icon {
            width: 50px;
            vertical-align: middle;
        }

        .wei-icon {
            width: 65px;
            vertical-align: middle;
        }

       