/* 基础设置：确保字体和背景对比度高 */
body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #F0F0F0; /* 浅灰背景 */
    color: #333; /* 深色文字 */
    margin: 0;
    padding: 0;
}

/* 头部：超大标题 */
.app-header {
    background-color: #007bff; /* 蓝色顶栏 */
    color: white;
    padding: 20px;
    text-align: center;
}

.app-header h1 {
    font-size: 36px; /* 确保标题非常大 */
    margin: 0;
}

/* 主功能区：使用网格布局，方便触摸 */
.main-grid {
    display: grid;
    /* 在宽屏设备上显示两列，确保每个按钮足够大 */
    grid-template-columns: 1fr 1fr; 
    gap: 15px; /* 按钮间距 */
    padding: 15px;
}

/* 功能卡片：核心用户体验 */
.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none; /* 移除链接下划线 */
    color: #333;
    padding: 30px 10px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    height: 150px; /* 确保卡片是大的可点击区域 */
}

/* 触摸反馈 */
.feature-card:hover, .feature-card:active {
    transform: translateY(-5px);
    opacity: 0.9;
}

/* 按钮文字：超大字体 */
.card-title {
    font-size: 24px; 
    font-weight: bold;
    margin-top: 10px;
    text-align: center;
}

/* 按钮图标：超大图标 */
.card-icon {
    font-size: 48px;
}

/* 底部 */
.app-footer {
    text-align: center;
    padding: 15px;
    font-size: 18px; /* 稍大的脚部文字 */
    color: #666;
}

/* 颜色主题（增加视觉区分度） */
.music-bg { background-color: #FFD700; } /* 金色 */
.games-bg { background-color: #98FB98; } /* 浅绿 */
.activity-bg { background-color: #ADD8E6; } /* 浅蓝 */
.health-bg { background-color: #FFA07A; } /* 浅橙 */
.chat-bg { background-color: #DDA0DD; } /* 紫罗兰 */
.family-bg { background-color: #FAFAD2; } /* 浅黄 */