/**
 * 个性化功能样式
 *
 * @package Flavor_Starter
 * @since 1.0.0
 */

/* ========== 博主信息卡片 ========== */
.blogger-card {
    background: var(--color-card-bg, #fff);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.blogger-avatar {
    margin-bottom: 16px;
}

.blogger-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-primary, #2563eb);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.blogger-info {
    margin-bottom: 16px;
}

.blogger-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-heading, #1e293b);
    margin: 0 0 8px;
}

.blogger-title {
    font-size: 0.875rem;
    color: var(--color-primary, #2563eb);
    margin: 0 0 8px;
    font-weight: 500;
}

.blogger-location {
    font-size: 0.8125rem;
    color: var(--color-secondary, #64748b);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.blogger-bio {
    font-size: 0.875rem;
    color: var(--color-text, #334155);
    line-height: 1.6;
}

/* ========== 博主统计 ========== */
.blogger-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 16px 0;
    margin: 16px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary, #2563eb);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--color-secondary, #64748b);
    margin-top: 2px;
}

/* ========== 社交链接 ========== */
.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--color-secondary, #64748b);
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: var(--color-primary, #2563eb);
    color: #fff;
    transform: translateY(-2px);
}

/* 社交媒体特定颜色 */
.social-weibo:hover { background: #e6162d; }
.social-wechat:hover { background: #07c160; }
.social-qq:hover { background: #12b7f5; }
.social-zhihu:hover { background: #0084ff; }
.social-bilibili:hover { background: #fb7299; }
.social-douyin:hover { background: #000; }
.social-github:hover { background: #24292e; }
.social-twitter:hover { background: #000; }
.social-facebook:hover { background: #1877f2; }
.social-instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-linkedin:hover { background: #0a66c2; }
.social-youtube:hover { background: #ff0000; }
.social-telegram:hover { background: #0088cc; }
.social-email:hover { background: var(--color-primary, #2563eb); }
.social-rss:hover { background: #f26522; }

.blogger-social {
    margin-top: 16px;
}

/* ========== 关于页面 ========== */
.about-page {
    max-width: 800px;
    margin: 0 auto;
}

.about-header {
    text-align: center;
    margin-bottom: 48px;
}

.about-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-primary, #2563eb);
    margin-bottom: 24px;
}

.about-name {
    font-size: 2rem;
    margin: 0 0 8px;
}

.about-title {
    font-size: 1.125rem;
    color: var(--color-primary, #2563eb);
    margin: 0 0 16px;
}

.about-bio {
    font-size: 1rem;
    color: var(--color-text, #334155);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== 技能列表 ========== */
.skills-section {
    margin: 48px 0;
}

.skills-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
    text-align: center;
}

.skills-list {
    display: grid;
    gap: 16px;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skill-name {
    font-weight: 500;
    color: var(--color-heading, #1e293b);
}

.skill-level {
    font-size: 0.875rem;
    color: var(--color-secondary, #64748b);
}

.skill-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary, #2563eb), #60a5fa);
    border-radius: 4px;
    transition: width 0.6s ease;
}

/* ========== 微信二维码弹窗 ========== */
.wechat-qrcode-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wechat-qrcode-modal.active {
    opacity: 1;
    visibility: visible;
}

.wechat-qrcode-content {
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    max-width: 300px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.wechat-qrcode-modal.active .wechat-qrcode-content {
    transform: scale(1);
}

.wechat-qrcode-content img {
    max-width: 200px;
    border-radius: 8px;
}

.wechat-qrcode-content p {
    margin: 16px 0 0;
    color: var(--color-secondary, #64748b);
    font-size: 0.875rem;
}

.wechat-qrcode-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
    .blogger-card {
        padding: 20px;
    }
    
    .blogger-avatar img {
        width: 100px;
        height: 100px;
    }
    
    .blogger-stats {
        gap: 16px;
    }
    
    .stat-value {
        font-size: 1.125rem;
    }
    
    .about-avatar {
        width: 120px;
        height: 120px;
    }
    
    .about-name {
        font-size: 1.5rem;
    }
}
