/* --- 全局样式 --- */
:root {
    --primary-color: #39FF14; /* 主色调 - 霓虹荧光绿 */
    --secondary-color: #00BFFF; /* 辅助色 - 律动蓝 */
    --bg-color: #0a0a1a;
    --text-color: #e0e0e0;
    --card-bg: #1a1a3a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', 'Arial', 'Microsoft YaHei', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3 {
    color: var(--primary-color);
    text-shadow: 0 0 5px var(--primary-color);
    margin-bottom: 15px;
}

h2 {
    font-size: 2.5rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 30px;
}

p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    max-width: 800px; /* 限制段落最大宽度，提高可读性 */
    margin-left: auto;
    margin-right: auto;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

    a:hover {
        color: #fff;
        text-shadow: 0 0 10px var(--primary-color);
    }

/* --- 区域样式 --- */
.content-section, .cta-section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

/* --- 头部 Hero 区 --- */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* 你可以替换成你喜欢的背景图 */
    background: linear-gradient(rgba(10, 10, 26, 0.8), rgba(10, 10, 26, 0.8)), url('https://images.unsplash.com/photo-1511447333015-45b65e60f6d5?q=80&w=1910&auto=format=fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative; /* 【【【重要修复】】】 为了让箭头正确定位 */
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 30px;
}

/* --- 【新增】滚动提醒 --- */
.scroll-down-prompt {
    position: absolute;
    bottom: 40px; /* 箭头距离页面底部 40px */
    left: 50%;
    transform: translateX(-50%); /* 水平居中 */
    z-index: 10;
    cursor: pointer;
    padding: 10px; /* 增大点击区域 */
}

.arrow-down {
    width: 20px; /* 箭头大小 */
    height: 20px;
    border: 3px solid var(--primary-color); /* 自动使用主题的主色调 */
    border-top: 0;
    border-left: 0;
    transform: rotate(45deg); /* 旋转 45 度 */
    opacity: 0.7;
    box-shadow: 0 0 10px var(--primary-color); /* 辉光 */
    animation: bounce-arrow 2s infinite; /* 呼吸/跳动动画 */
}

.scroll-down-prompt:hover .arrow-down {
    opacity: 1;
}

/* 箭头跳动动画 */
@keyframes bounce-arrow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }

    40% {
        transform: translateY(10px) rotate(45deg); /* 向下移动 10px */
    }

    60% {
        transform: translateY(5px) rotate(45deg);
    }
}

/* --- 关于我们 (About Us) 专属样式 --- */
.slogan {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: bold;
    font-style: italic;
    text-shadow: 0 0 5px var(--secondary-color);
}

.about-text {
    text-align: left; /* 长段落左对齐 */
    text-indent: 2em; /* 首行缩进 */
}

.disclaimer {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

/* --- CTA 按钮 (Call to Action) --- */
.cta-button {
    display: inline-block;
    padding: 12px 25px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--bg-color);
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px var(--primary-color);
}

    .cta-button:hover {
        background-color: transparent;
        color: var(--primary-color);
        box-shadow: 0 0 25px var(--primary-color);
    }

/* --- 特色卡片 --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left; /* 卡片内容左对齐 */
}

.feature-card {
    background-color: var(--card-bg);
    padding: 30px;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* 使用 flex 布局，确保卡片等高 */
    flex-direction: column;
}

.card-icon {
    font-size: 2.5rem; /* 图标大小 */
    margin-bottom: 10px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}
/* 卡片内的列表 */
.feature-card ul {
    list-style: none; /* 移除默认圆点 */
    padding-left: 0;
    flex-grow: 1; /* 让列表填满剩余空间 */
}

    .feature-card ul li {
        font-size: 1rem;
        margin-bottom: 10px;
        position: relative;
        padding-left: 25px; /* 为自定义符号留出空间 */
    }

        .feature-card ul li::before {
            content: '»'; /* 自定义列表符号 */
            position: absolute;
            left: 0;
            top: 0;
            color: var(--primary-color);
            font-weight: bold;
        }

        .feature-card ul li strong {
            color: var(--text-color);
        }

/* --- 你能获得什么 (Benefits) 样式 --- */
#benefits {
    background-color: var(--card-bg); /* 给这个区域一个深色背景 */
    border-top: 1px dashed var(--primary-color);
    border-bottom: 1px dashed var(--primary-color);
}

.benefits-list {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

    .benefits-list li {
        font-size: 1.2rem;
        margin-bottom: 15px;
        padding: 10px;
        border: 1px solid var(--secondary-color);
        border-radius: 5px;
        transition: all 0.3s ease;
    }

        .benefits-list li:hover {
            background-color: rgba(0, 191, 255, 0.1);
            box-shadow: 0 0 10px var(--secondary-color);
            transform: translateX(5px);
        }

/* --- 群友风采 (Gallery) 样式 --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .gallery-item img:hover {
        transform: scale(1.05);
        box-shadow: 0 0 25px var(--primary-color);
    }


/* --- 二维码区域样式 --- */
.qrcode-section {
    border-top: 1px dashed var(--primary-color);
}

.qrcode-container {
    display: inline-block;
    padding: 15px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 0 20px var(--primary-color);
    margin-bottom: 20px;
}

    .qrcode-container img {
        display: block;
        width: 200px;
        height: 200px;
    }

.qrcode-section p {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 5px; /* 减小二维码下方文字的间距 */
}

/* --- 加入我们 --- */
.cta-section {
    background-color: var(--card-bg);
}

/* --- 脉冲动画 --- */
.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 15px var(--primary-color);
    }

    50% {
        box-shadow: 0 0 30px var(--primary-color);
    }

    100% {
        box-shadow: 0 0 15px var(--primary-color);
    }
}

/* --- 页脚 --- */
footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    font-size: 0.9rem;
    color: #888;
    border-top: 1px solid #333;
}

/* --- 响应式设计 --- */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    .about-text, .benefits-list {
        text-align: left; /* 在手机上也保持左对齐 */
    }
}
