* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    font-family: sans-serif;
    /* 背景+半透明渐变遮罩 */
    background: linear-gradient(rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.38)), url("./bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 30px 15px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.block {
    background-color: rgba(0,0,0,0.45);
    padding: 25px;
    border-radius: 14px;
    margin-bottom: 22px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.35);
    /* 给卡片加上过渡动画 */
    transition: all 0.3s ease;
}
/* 卡片悬浮微微上浮+加深阴影 */
.block:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.45);
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 26px;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

h2 {
    margin-bottom: 10px;
    font-size: 22px;
    color: #fff;
}

p {
    margin: 8px 0;
    line-height: 1.7;
    font-size: 16px;
    color: #fff;
}

a {
    color: #8ec8ff;
    text-decoration: none;
    /* 链接过渡动画 */
    transition: all 0.25s ease;
    border-bottom: 1px solid transparent;
}
/* 链接hover变色+下划线 */
a:hover {
    color: #b3d8ff;
    border-bottom: 1px solid #b3d8ff;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
}
/* 图片轻微放大效果 */
.img-box img:hover {
    transform: scale(1.03);
}

.flex-wrap {
    display: flex;
    gap: 25px;
    align-items: center;
}
.text-box {
    flex: 1;
}
.img-box {
    flex-shrink: 0;
    width: 220px;
}

@media (max-width: 600px) {
    .flex-wrap {
        flex-direction: column;
    }
    .img-box {
        width: 100%;
    }
}
/* 社交图标按钮样式，和反馈页保持统一 */
.social-box {
    margin: 25px 0;
    text-align: center;
}

.social-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 8px 8px;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* 平台专属配色 */
.social-btn.bilibili {
    background: #fb7299;
}
.social-btn.qq {
    background: #12b7f5;
}
.social-btn.coolapk {
    background: #3399ff;
}
.social-btn.github {
    background: #222222;
}
.social-btn.mail {
    background: #0078d4;
}

.social-btn:hover {
    transform: translateY(-4px) scale(1.05);
    opacity: 0.85;
}
