/* 引导页样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    min-height: 100vh;
    background: linear-gradient(135deg, #E8F0ED 0%, #F5F9F7 50%, #E8F0ED 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 1000px;
    text-align: center;
}

/* 欢迎区域 */
.welcome-section {
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease;
}

.main-title {
    font-size: 48px;
    font-weight: bold;
    color: #2C3E3A;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 18px;
    color: #5F6F6A;
    font-weight: 300;
}

/* 选项卡片容器 */
.options-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* 选项卡片 */
.option-card {
    background: white;
    border-radius: 30px;
    padding: 50px 40px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(90, 146, 121, 0.15);
    position: relative;
    overflow: hidden;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #5A9279, #7FA893);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.option-card:hover::before {
    transform: scaleX(1);
}

.option-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(90, 146, 121, 0.25);
}

/* 李简单卡片特殊样式 */
.ljd-card {
    border: 2px solid transparent;
}

.ljd-card:hover {
    border-color: #5A9279;
}

.ljd-card .card-icon {
    background: linear-gradient(135deg, #7FA893, #5A9279);
}

/* 二换数码卡片特殊样式 */
.erhuan-card {
    border: 2px solid transparent;
}

.erhuan-card:hover {
    border-color: #4A7A65;
}

.erhuan-card .card-icon {
    background: linear-gradient(135deg, #6B8E7F, #4A7A65);
}

/* 游戏卡片特殊样式 */
.game-card {
    border: 2px solid transparent;
}

.game-card:hover {
    border-color: #667eea;
}

.game-card .card-icon {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.game-card:hover .card-title {
    color: #667eea;
}

/* 卡片图标 */
.card-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    margin-bottom: 25px;
    box-shadow: 0 8px 20px rgba(90, 146, 121, 0.2);
    transition: all 0.3s ease;
}

.option-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

/* 卡片标题 */
.card-title {
    font-size: 32px;
    font-weight: bold;
    color: #2C3E3A;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.ljd-card:hover .card-title {
    color: #5A9279;
}

.erhuan-card:hover .card-title {
    color: #4A7A65;
}

/* 卡片副标题 */
.card-subtitle {
    font-size: 16px;
    color: #5F6F6A;
    margin-bottom: 20px;
    font-weight: 500;
}

/* 卡片描述 */
.card-description {
    font-size: 14px;
    color: #7A8A85;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* 卡片按钮 */
.card-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background-color: #5A9279;
    color: white;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.option-card:hover .card-button {
    background-color: #4A7A65;
    padding: 12px 35px;
}

.arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.option-card:hover .arrow {
    transform: translateX(5px);
}

/* 页脚 */
.footer {
    animation: fadeIn 1s ease 0.4s both;
}

.footer p {
    font-size: 14px;
    color: #7A8A85;
}

/* 动画定义 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* 响应式设计 - 平板 */
@media (max-width: 768px) {
    .main-title {
        font-size: 36px;
    }
    
    .subtitle {
        font-size: 16px;
    }
    
    .options-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .option-card {
        padding: 40px 30px;
    }
    
    .card-icon {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }
    
    .card-title {
        font-size: 28px;
    }
}

/* 响应式设计 - 手机 */
@media (max-width: 480px) {
    body {
        padding: 15px;
    }
    
    .welcome-section {
        margin-bottom: 40px;
    }
    
    .main-title {
        font-size: 28px;
    }
    
    .subtitle {
        font-size: 14px;
    }
    
    .options-container {
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .option-card {
        padding: 30px 25px;
        border-radius: 25px;
    }
    
    .card-icon {
        width: 70px;
        height: 70px;
        font-size: 35px;
        margin-bottom: 20px;
    }
    
    .card-title {
        font-size: 24px;
    }
    
    .card-subtitle {
        font-size: 14px;
    }
    
    .card-description {
        font-size: 13px;
    }
    
    .card-button {
        padding: 10px 25px;
        font-size: 14px;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}
