@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: #0d0d0d;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* 背景 */
.bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
}

/* 导航 */
nav {
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(90deg, #ff00cc, #3333ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #ff00cc;
}

.nav-btn {
    padding: 10px 24px;
    background: linear-gradient(90deg, #ff00cc, #3333ff);
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 0, 204, 0.4);
}

/* 主内容 */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.title-box {
    text-align: center;
    margin-bottom: 60px;
}

.title-box h1 {
    font-size: 80px;
    font-weight: 700;
    letter-spacing: 20px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #ff00cc, #ff0066, #ff6600);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(255, 0, 204, 0.5));
}

.title-box p {
    font-size: 16px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 8px;
}

/* 链接卡片 */
.links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.card {
    width: 160px;
    height: 160px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,0,204,0.1), rgba(51,51,255,0.1));
    opacity: 0;
    transition: opacity 0.4s;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(255,0,204,0.5);
    box-shadow: 0 20px 40px rgba(255,0,204,0.2);
}

.card-icon {
    font-size: 40px;
    transition: transform 0.4s;
}

.card:hover .card-icon {
    transform: scale(1.2);
}

.card span {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    letter-spacing: 2px;
    z-index: 1;
}

/* 页脚 */
footer {
    padding: 30px;
    text-align: center;
}

footer p {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    letter-spacing: 2px;
}

/* 响应式 */
@media (max-width: 768px) {
    .title-box h1 {
        font-size: 48px;
        letter-spacing: 10px;
    }
    
    .card {
        width: 140px;
        height: 140px;
    }
}
