/* 全局CSS变量 */
:root {
    /* 主题颜色 */
    --primary-color: #6C63FF;
    --secondary-color: #4CAF50;
    --text-color: #333333;
    --light-text: #666666;
    --background-color: #FFFFFF;
    --hover-color: #5A52D5;
    
    /* 间距 */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* 字体大小 */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-md: 1rem;
    --font-size-lg: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 2rem;
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
}

/* 容器样式 */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-lg);
}

/* 欢迎区域样式 */
.welcome-section {
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.main-title {
    font-size: var(--font-size-xxl);
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    animation: fadeInDown 0.8s ease-out;
}

.subtitle {
    font-size: var(--font-size-lg);
    color: var(--light-text);
    margin-bottom: var(--spacing-xl);
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* 功能特性样式 */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    animation: fadeIn 1s ease-out 0.4s backwards;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.feature-icon {
    font-size: var(--font-size-xl);
}

.feature-text {
    font-size: var(--font-size-md);
    color: var(--light-text);
}

/* 开始按钮样式 */
.start-button {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: var(--font-size-lg);
    font-weight: bold;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.start-button:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.2);
}

/* 页脚样式 */
.footer {
    text-align: center;
    padding: var(--spacing-md);
    color: var(--light-text);
    font-size: var(--font-size-sm);
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: var(--background-color);
}

/* 动画关键帧 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(108, 99, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .features {
        gap: var(--spacing-md);
    }
    
    .main-title {
        font-size: var(--font-size-xl);
    }
    
    .subtitle {
        font-size: var(--font-size-md);
    }
    
    .feature-item {
        flex: 0 0 calc(50% - var(--spacing-md));
    }
}

@media (max-width: 480px) {
    .container {
        padding: var(--spacing-md);
    }
    
    .feature-item {
        flex: 0 0 100%;
    }
    
    .start-button {
        width: 100%;
    }
} 