/* 全局样式：重置默认边距，设置背景和字体 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", Arial, sans-serif;
}

/* 页面背景：浅灰色，居中显示内容 */
body {
    background-color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* 内容容器：白色卡片，带阴影，圆角，适配小屏幕 */
.container {
    background-color: #fff;
    padding: 60px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

/* 主标题样式：深灰色，底部间距 */
h1 {
    color: #2d3748;
    font-size: 28px;
    margin-bottom: 20px;
}

/* 描述文字样式：中灰色，行高适中 */
p {
    color: #718096;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* GitHub按钮样式：蓝色背景，hover变色，带圆角 */
.github-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #24292e; /* GitHub经典黑 */
    color: #ffffff;
    font-size: 18px;
    padding: 14px 36px; /* 加大内边距，按钮更饱满 */
    border-radius: 10px; /* 圆润圆角，更柔和 */
    text-decoration: none;
    font-weight: 600; /* 字体加粗，更醒目 */
    border: none; /* 去掉默认边框 */
    cursor: pointer; /* 鼠标悬浮显示手型 */
    box-shadow: 0 4px 12px rgba(36, 41, 46, 0.3); /* 立体阴影，有层次感 */
    transition: all 0.3s ease-in-out; /* 所有效果统一过渡，更丝滑 */
    gap: 12px; /* 图标和文字间距，替代原margin-right，更灵活 */
}

/* 按钮内GitHub图标：右侧间距 */
.github-btn i {
    margin-right: 10px;
    font-size: 20px;
}

/* 鼠标悬浮按钮：背景加深，有交互效果 */
.github-btn:hover {
    background: linear-gradient(135deg, #24292e 0%, #000000 100%); /* 黑到纯黑渐变 */
    transform: translateY(-3px) scale(1.05); /* 上移3px+放大5%，动态感 */
    box-shadow: 0 6px 20px rgba(36, 41, 46, 0.4); /* 阴影加深，更立体 */
    color: #ffffff; /* 保证文字不变色 */
}

/* 小屏幕适配：缩小内边距，适配手机 */
@media (max-width: 480px) {
    .container {
        padding: 40px 20px;
    }
    h1 {
        font-size: 24px;
    }
    .github-btn {
        font-size: 16px;
        padding: 10px 25px;
    }
}