@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;700&display=swap');

/* 在文件开头添加以下代码 */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* 更新鼠标跟随器样式 */
.mouse-follower {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, transform 0.3s;
    box-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color), 0 0 30px var(--primary-color);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    transition: all 0.08s ease-out;
}

.cursor-trail {
    position: fixed;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background-color: var(--primary-color);
    pointer-events: none;
    transition: 0.1s;
    z-index: 9998;
    opacity: 0.5;
}

.cursor-particle {
    position: fixed;
    pointer-events: none;
    width: 5px;
    height: 5px;
    background-color: var(--primary-color);
    border-radius: 50%;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.cursor-main {
    position: fixed;
    pointer-events: none;
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    z-index: 9999;
    box-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color), 0 0 30px var(--primary-color);
}

/* 移除 .circuit-line 样式 */

:root {
    --primary-color: #00ffff;
    --background-color: #000000;
    --text-color: #ffffff;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    box-sizing: border-box;
}

header {
    text-align: center;
    padding: 2rem 0;
}

.header-title {
    display: flex;
    justify-content: center;
    align-items: center;
}

.title-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

h1 {
    font-size: 3rem;
    margin: 0;
    text-shadow: 0 0 10px var(--primary-color);
    position: relative;
}

.title-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color), 0 0 30px rgba(0, 255, 255, 0.5);
    transition: all 0.3s ease;
    animation: avatarGlow 2s ease-in-out infinite alternate;
    object-fit: cover;
    display: block;
}

.title-avatar:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px var(--primary-color), 0 0 40px rgba(0, 255, 255, 0.7);
}

@keyframes avatarGlow {
    0% {
        box-shadow: 0 0 15px var(--primary-color), 0 0 30px rgba(0, 255, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 25px var(--primary-color), 0 0 50px rgba(0, 255, 255, 0.7);
    }
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

#intro {
    text-align: center;
    margin-bottom: 3rem;
}

#features {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    gap: 2rem; /* 增加间距 */
}

.feature {
    flex-basis: calc(33.333% - 1.33rem); /* 调整宽度以适应新的间距 */
    text-align: center;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-10px);
}

#cta {
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 2rem; /* 增加与上方组件的间距 */
}

.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem; /* 增加内边距使按钮变大 */
    background-color: var(--primary-color);
    color: var(--background-color);
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.2rem; /* 增加字体大小 */
}

.btn:hover {
    background-color: #00cccc;
    transform: scale(1.05); /* 悬停时稍微放大按钮 */
}

footer {
    text-align: center;
    padding: 1rem 0;
    font-size: 0.9rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 1s ease-in;
}

/* 在文件末尾添加以下代码 */
.btn.pulse {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* 在文件中添加以下代码 */
.shine-effect {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

.shine-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.6),
        transparent
    );
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

/* 修改底部文字样式 */
footer p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    /* 删除下面这行 */
    /* text-decoration: underline; */
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* 在文件末尾添加以下代码 */

.social-icons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.social-icon.douyin-icon {
    background-color: #FF0050;
    box-shadow: 0 0 20px rgba(238, 29, 82, 0.7);
}

.social-icon.wechat-icon {
    background-color: #07C160;
    box-shadow: 0 0 20px rgba(7, 193, 96, 0.7);
}

.social-icon.bilibili-icon {
    background-color: #00A1D6;
    box-shadow: 0 0 20px rgba(0, 161, 214, 0.7);
}

.social-icon:hover {
    transform: scale(1.1);
}

.social-icon.douyin-icon:hover {
    box-shadow: 0 0 20px rgba(238, 29, 82, 0.9);
}

.social-icon.wechat-icon:hover {
    box-shadow: 0 0 20px rgba(7, 193, 96, 0.9);
}

.social-icon.bilibili-icon:hover {
    box-shadow: 0 0 20px rgba(0, 161, 214, 0.9);
}

/* 备案信息样式 */
.beian-info {
    margin-top: 30px;
    padding-top: 15px;
    font-size: 0.75rem;
    opacity: 0.5;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.beian-info a {
    color: #777;
    text-decoration: none;
    transition: color 0.3s ease;
}

.beian-info a:hover {
    color: #999;
}

/* 添加新增内容的样式 */
.content-section {
    margin-bottom: 3rem;
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.content-section:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.08);
}

.content-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.content-section p {
    line-height: 1.8;
    text-align: justify;
}

/* 用户评价样式 */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    position: relative;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: block;
    text-align: right;
    font-weight: bold;
    color: var(--primary-color);
}

/* 页脚链接样式 */
.footer-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.copyright {
    margin-top: 20px;
    font-size: 0.85rem;
    color: #999;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .content-section {
        padding: 1rem;
    }
}

/* 调整容器最大宽度 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    box-sizing: border-box;
}

/* 确保图片和视频不会溢出容器 */
img, video {
    max-width: 100%;
    height: auto;
}

/* 响应式设计优化 */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    header h1 {
        font-size: 24px;
    }
    
    .title-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .title-avatar {
        width: 40px;
        height: 40px;
    }

    #intro h2 {
        font-size: 20px;
    }

    #intro p {
        font-size: 16px;
    }

    #features {
        flex-direction: column;
        align-items: center;
    }

    .feature {
        width: 100%;
        margin-bottom: 20px;
    }

    #cta {
        margin-top: 20px;
    }

    .btn {
        font-size: 18px;
        padding: 10px 20px;
    }

    footer {
        margin-top: 20px;
    }

    .social-icons {
        margin-top: 10px;
    }
}

/* 确保在小屏幕上可以看到"一键领取"按钮 */
@media (max-height: 600px) {
    .container {
        height: auto;
        min-height: 100vh;
    }

    #cta {
        position: static;
        margin-top: 20px;
    }
}

/* 响应式布局优化 */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
        justify-content: space-between;
    }

    header {
        padding: 1rem 0;
    }

    header h1 {
        font-size: 2rem;
    }

    #intro {
        margin-bottom: 1rem;
    }

    #intro h2 {
        font-size: 1.5rem;
    }

    #intro p {
        font-size: 1rem;
    }

    #cta {
        order: -1; /* 将 CTA 部分移到顶部 */
        margin: 1rem 0;
    }

    .btn {
        font-size: 1.2rem;
        padding: 0.8rem 1.6rem;
    }

    #features {
        flex-direction: column;
        gap: 1rem;
    }

    .feature {
        width: 100%;
    }

    footer {
        margin-top: 1rem;
    }

    .social-icons {
        justify-content: center;
        gap: 1rem;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* 优化内容可读性 */
@media (max-width: 768px) {
    body {
        font-size: 16px;
        line-height: 1.4;
    }

    h1, h2, h3 {
        margin-bottom: 0.5rem;
    }

    p {
        margin-bottom: 1rem;
    }
}
