:root {
    --primary-purple: #7e5bef;
    --light-purple: #f9f5ff;
    --accent-purple: #9d4edd;
    --dark-purple: #5a189a;
    --text-dark: #2d1b69;
    --text-light: #fafafa;  /* 或#fbe6ff */
    --card-shadow: 0 8px 32px rgba(126, 91, 239, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--light-purple);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}


/* 首页大图 */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(249, 245, 255, 0.1), rgba(249, 245, 255, 0.05)),
                url('../images/hero-bg.jpg') center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(126, 91, 239, 0.05) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.hero-title .normal {
    color: var(--text-light);
    font-weight: 700;
}

.hero-title h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.hero-title p {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    opacity: 0.85;
    color: var(--text-dark);
}

/* 按钮组 */
.button-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    margin-top: 2rem;
}

.button-row {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

/* 主按钮 */
.btn-main {
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-purple));
    color: white;
    box-shadow: 0 8px 30px rgba(126, 91, 239, 0.4);
    font-size: 1.2rem;
    padding: 1.1rem 3rem;
}

.btn-main:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(126, 91, 239, 0.6);
}

/* 白名单按钮(旧设计) */
.btn-secondary1 {
    background: rgb(253, 253, 253，0);
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
    box-shadow: 0 4px 20px rgba(126, 91, 239, 0.1);
}

.btn-secondary1:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(126, 91, 239, 0.3);
}

/* 白名单按钮 */
.btn-secondary {
    background: linear-gradient(135deg, #f50996, #d141f9);
    color: white;
    box-shadow: 0 4px 20px rgba(254, 79, 242, 0.4);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(242, 79, 254, 0.6);
}

/* 下载客户端按钮 */
.btn-accent {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: white;
    box-shadow: 0 4px 20px rgba(79, 172, 254, 0.4);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(79, 172, 254, 0.6);
}


/* ===== 图文介绍 ===== */
.server-desc {
    padding: 6rem 5%;
    background: linear-gradient(135deg, rgba(255, 255, 255, .95), var(--light-purple));
}
.desc-wrap {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}
.desc-text {
    flex: 1 1 480px;
}
.desc-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    opacity: .9;
}
.desc-img {
    flex: 1 1 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}
.desc-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform .4s;
}
.desc-img:hover img {
    transform: scale(1.03);
}
@media (max-width: 768px) {
    .desc-wrap {
        flex-direction: column;
    }
}

/* 服务器特色 */
.server-intro {
    padding: 6rem 5%;
    background: linear-gradient(135deg, rgba(249, 245, 255, 0.8), rgba(255, 255, 255, 0.9));
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    font-weight: 700;
}

.section-title .highlight {
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.feature-card {
    background: linear-gradient(145deg, #ffffff, #f5f0ff);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(126, 91, 239, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-purple), var(--accent-purple));
    transform: scaleX(0);
    transition: var(--transition);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(126, 91, 239, 0.2);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* 相册 */
.gallery {
    padding: 6rem 5%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(249, 245, 255, 0.8));
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    transition: var(--transition);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(126, 91, 239, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(126, 91, 239, 0.3);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(126, 91, 239, 0.8), rgba(157, 78, 221, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* 统计 */
.stats {
    padding: 6rem 5%;
    background: linear-gradient(135deg, rgba(126, 91, 239, 0.05), rgba(255, 255, 255, 0.9));
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    text-align: center;
}

.stat-item {
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(126, 91, 239, 0.15);
    box-shadow: var(--card-shadow);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 50px rgba(126, 91, 239, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-dark);
    opacity: 0.8;
    font-weight: 500;
}

/* ===== 配置需求 ===== */
.requirements {
    padding: 6rem 5%;
    background: linear-gradient(135deg, rgba(249, 245, 255, .9), #ffffff);
}
.req-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.req-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem 1.5rem 2rem;
    text-align: center;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(126, 91, 239, .15);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.req-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-purple);
    transform: scaleX(0);
    transition: var(--transition);
}
.req-card:hover::before {
    transform: scaleX(1);
}
.req-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(126, 91, 239, .2);
}
.req-card.recommended {
    border-color: var(--accent-purple);
}
.req-card.recommended::before {
    background: linear-gradient(90deg, var(--accent-purple), var(--primary-purple));
}
.req-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.req-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}
.req-card ul {
    list-style: none;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    opacity: .9;
}
.req-card ul li {
    margin: .3rem 0;
}
@media (max-width: 768px) {
    .req-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 480px) {
    .req-grid {
        grid-template-columns: 1fr;
    }
}

/* 响应式 */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .button-row {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    } 
}

