/* Blogger Info Display Plugin Styles - 现代简约卡通可爱风格 */
.blogger-info-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.blogger-card {
    background: transparent;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 2px solid #ffb347;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.blogger-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.blogger-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.blogger-card:hover::before {
    transform: rotate(45deg) scale(1.05);
}

/* 头像卡片特定样式 */
.avatar-card {
    text-align: center;
    padding: 30px;
}

/* 姓名卡片特定样式 */
.name-card {
    text-align: center;
    padding: 20px;
}

/* 简介卡片特定样式 */
.bio-card {
    padding: 25px;
}

/* 签名卡片特定样式 */
.signature-card {
    padding: 25px;
    text-align: center;
}

.signature-card h4 {
    color: #ff6b6b;
    font-size: 1.4em;
    margin: 0 0 15px 0;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.signature-card p {
    font-size: 1.2em;
    font-style: italic;
    color: #e67e22;
    margin: 0;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 站点信息卡片特定样式 */
.site-info-card {
    padding: 25px;
}

.site-info-card h4 {
    color: #ff6b6b;
    font-size: 1.4em;
    margin: 0 0 20px 0;
    font-weight: 600;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-info p {
    margin: 10px 0;
    color: #e67e22;
    font-size: 1.1em;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.site-info p strong {
    color: #ff6b6b;
    font-weight: 600;
}

/* 友情链接卡片特定样式 */
.friend-links-card {
    padding: 25px;
    text-align: center;
}

.friend-links-card h4 {
    color: #ff6b6b;
    font-size: 1.4em;
    margin: 0 0 20px 0;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.friend-links-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}

.friend-link {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(135deg, #6bcf7f, #4ecdc4);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.friend-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.friend-link:hover::before {
    left: 100%;
}

.friend-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #4ecdc4, #6bcf7f);
    border-color: rgba(255, 255, 255, 0.4);
}

/* 社交媒体卡片特定样式 */
.social-card {
    padding: 25px;
    text-align: center;
    border: none;
    box-shadow: none;
}

/* 头像卡片特定样式 - 移除边框 */
.avatar-card {
    text-align: center;
    padding: 30px;
    border: none;
    box-shadow: none;
}

/* 头像样式 */
.blogger-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    padding: 5px;
    background: linear-gradient(135deg, #ff6b6b, #ffd93d);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.blogger-avatar::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b6b, #ffd93d, #6bcf7f, #4ecdc4, #45b7d1, #96ceb4, #ffeaa7, #ff6b6b);
    background-size: 400%;
    border-radius: 50%;
    z-index: -1;
    animation: gradient-border 3s ease infinite;
}

@keyframes gradient-border {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.blogger-avatar:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.blogger-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.blogger-avatar:hover img {
    transform: scale(1.05);
}

/* 姓名样式 */
.blogger-name {
    font-size: 2.2em;
    font-weight: 700;
    margin: 0;
    color: #ff6b6b;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

/* 简介样式 */
.blogger-bio {
    font-size: 1.1em;
    line-height: 1.8;
    margin: 0;
    color: #e67e22;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: left;
    padding-left: 20px;
    position: relative;
    z-index: 2;
}

.blogger-bio-line {
    display: block;
    margin-bottom: 8px;
    position: relative;
    padding-left: 25px;
}

.blogger-bio-line::before {
    content: var(--symbol-content, '★');
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2em;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--symbol-color, #ffd93d);
    text-shadow: 0 0 10px var(--symbol-shadow, rgba(255, 217, 61, 0.5));
}

/* 社交媒体链接 */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* 各个社交媒体的特定样式 */
.social-link.weibo {
    background: linear-gradient(135deg, #e6162d, #ff4757);
}

.social-link.weibo:hover {
    background: linear-gradient(135deg, #ff4757, #e6162d);
    border-color: rgba(255, 255, 255, 0.4);
}

.social-link.wechat {
    background: linear-gradient(135deg, #07c160, #1aad19);
}

.social-link.wechat:hover {
    background: linear-gradient(135deg, #1aad19, #07c160);
    border-color: rgba(255, 255, 255, 0.4);
}

.social-link.github {
    background: linear-gradient(135deg, #333, #6e5494);
}

.social-link.github:hover {
    background: linear-gradient(135deg, #6e5494, #333);
    border-color: rgba(255, 255, 255, 0.4);
}

.social-link.other {
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

.social-link.other:hover {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    border-color: rgba(255, 255, 255, 0.4);
}

.social-icon {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.social-link:hover .social-icon {
    transform: scale(1.2) rotate(10deg);
}

.social-text {
    position: relative;
    z-index: 2;
}

/* 微信弹窗样式 */
.wechat-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.wechat-popup-content {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.wechat-popup-content h3 {
    margin: 0 0 15px 0;
    font-size: 1.5em;
    background: linear-gradient(45deg, #fff, #ffd93d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wechat-popup-content p {
    margin: 0 0 15px 0;
    color: rgba(255, 255, 255, 0.9);
}

.wechat-id {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 15px;
    font-size: 1.3em;
    font-weight: bold;
    margin: 15px 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: inline-block;
}

.close-popup {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.close-popup:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

/* 粒子效果 */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: float 3s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .blogger-info-card {
        padding: 20px;
        margin: 15px 0;
    }
    
    .blogger-avatar {
        width: 100px;
        height: 100px;
    }
    
    .blogger-name {
        font-size: 1.8em;
    }
    
    .blogger-bio {
        font-size: 1em;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        padding: 10px 16px;
        font-size: 0.9em;
    }
    
    .wechat-popup-content {
        margin: 20px;
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .blogger-info-card {
        padding: 15px;
    }
    
    .blogger-avatar {
        width: 80px;
        height: 80px;
    }
    
    .blogger-name {
        font-size: 1.5em;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-link {
        width: 200px;
        justify-content: center;
    }
}

/* 加载动画 */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.blogger-info-card.loading {
    animation: pulse 2s ease-in-out infinite;
}

/* 无障碍支持 */
@media (prefers-reduced-motion: reduce) {
    .blogger-info-card,
    .social-link,
    .blogger-avatar,
    .wechat-popup-content {
        transition: none;
        animation: none;
    }
    
    .particle {
        display: none;
    }
}

/* 焦点样式 */
.social-link:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.close-popup:focus,
.copy-btn:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}
