:root {
    --primary-color: #f8bbd0;
    --primary-light: #ffeeff;
    --primary-dark: #c48b9f;
    --secondary-color: #80deea;
    --secondary-light: #b4ffff;
    --secondary-dark: #4bacb8;
    --text-color: #4a4a4a;
    --light-text: #757575;
    --bg-color: #fff9fc;
    --card-bg: #ffffff;
    --shadow-color: rgba(244, 143, 177, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 1.5rem 0;
}

header h1 {
    font-family: 'Ma Shan Zheng', cursive;
    font-size: 2.8rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(45deg, var(--primary-dark), var(--secondary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--light-text);
    letter-spacing: 1px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px var(--shadow-color);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-light), var(--secondary-light));
    border-radius: 50%;
    width: 80px;
    height: 80px;
    line-height: 80px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.card p {
    font-size: 0.9rem;
    color: var(--light-text);
    line-height: 1.6;
}

footer {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem 0;
    color: var(--light-text);
    font-size: 0.9rem;
}

/* 粒子动画背景 */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    header h1 {
        font-size: 2.2rem;
    }
    
    .cards-container {
        grid-template-columns: 1fr;
    }
}

/* 动画效果 */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.card:nth-child(1) {
    animation: float 6s ease-in-out infinite;
}

.card:nth-child(2) {
    animation: float 7s ease-in-out infinite;
    animation-delay: 1s;
}

.card:nth-child(3) {
    animation: float 5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.card:nth-child(4) {
    animation: float 8s ease-in-out infinite;
    animation-delay: 1.5s;
} 