/* 全局样式和字体 */
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #fdfcff; /* 页面的淡紫色背景 */
    color: #333;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 680px; /* 限制内容最大宽度，使其在桌面端也易于查看 */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 1. 页面头部样式 */
.profile-header {
    text-align: center;
    margin-bottom: 30px;
}

.profile-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #eee;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.profile-header h1 {
    font-size: 1.5rem;
    margin: 10px 0 5px;
}

.profile-header p {
    color: #888;
    margin: 0 0 10px;
}

.profile-link {
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
}

.profile-link i {
    margin-left: 5px;
}

/* 2. 主推广区样式 */
.promo-card {
    width: 90%;
    max-width: 400px;
    background: linear-gradient(135deg, #f3efff 0%, #e7f5ff 100%); /* 淡雅的渐变背景 */
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden; /* 隐藏超出边界的斜线 */
}

/* 添加背景斜线 */
.promo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: repeating-linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.5),
        rgba(255, 255, 255, 0.5) 1px,
        transparent 1px,
        transparent 20px
    );
}


.promo-content {
    text-align: center;
    position: relative; /* 确保内容在伪元素之上 */
    z-index: 1;
}

.promo-title {
    font-weight: bold;
    font-size: 1rem;
    margin: 0 0 15px;
}

.promo-qr {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    border: 5px solid white;
}

.promo-subtitle {
    font-size: 0.9rem;
    color: #555;
    margin: 15px 0 0;
}

/* 3. 链接列表样式 */
.links-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px; /* 按钮之间的间距 */
}

.link-button {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(to right, #ffaf7b, #f99a7d); /* 橙色渐变 */
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(255, 154, 125, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 154, 125, 0.5);
}

.button-logo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 15px;
}

.link-button span {
    flex-grow: 1; /* 让文字占据剩余空间 */
    text-align: left;
}

.link-button i {
    font-size: 0.8rem;
}

/* 4. 页脚区样式 */
.page-footer {
    margin-top: 40px;
    text-align: center;
    width: 100%;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    margin: 0 5px;
    font-size: 0.9rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    color: #777;
}

.footer-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.cta-button {
    display: inline-block;
    background-color: #4a69ff;
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 5px 15px rgba(74, 105, 255, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 105, 255, 0.5);
}