/* 自定义样式 */

/* 现代化图标样式 */
.modern-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.modern-icon:hover {
    transform: translateY(-2px) scale(1.05);
    filter: drop-shadow(0 4px 12px rgba(102, 126, 234, 0.3));
}

/* 图标容器 */
.icon-container {
    position: relative;
    display: inline-block;
}

.icon-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: -1;
}

.icon-container:hover::before {
    width: 40px;
    height: 40px;
}

/* 导航栏图标 */
.navbar .fas,
.navbar .fab {
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar .fas:hover,
.navbar .fab:hover {
    transform: rotateY(180deg);
    color: #ffd700 !important;
}

/* 统计卡片图标动效 */
.stats-icon {
    position: relative;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.stats-icon:hover {
    transform: rotateY(360deg) scale(1.1);
}

.stats-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    pointer-events: none;
}

.stats-icon:hover::after {
    width: 60px;
    height: 60px;
}

/* 按钮图标动效 */
.btn .fas,
.btn .fab {
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.btn:hover .fas,
.btn:hover .fab {
    transform: translateX(3px);
}

.btn-primary:hover .fas {
    color: #ffd700;
}

/* 特殊按钮动效 */
.btn-search:hover .fa-search {
    transform: rotate(90deg) scale(1.1);
}

.btn-create:hover .fa-plus {
    transform: rotate(180deg) scale(1.2);
}

.btn-edit:hover .fa-edit {
    transform: rotateZ(15deg) scale(1.1);
}

/* 项目卡片图标 */
.project-card .fas,
.project-card .fab {
    transition: all 0.3s ease;
    color: #6c757d;
}

.project-card:hover .fas,
.project-card:hover .fab {
    color: #667eea;
    transform: scale(1.1);
}

/* 用户头像和图标 */
.user-avatar {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.user-avatar:hover {
    transform: scale(1.05);
    border-color: #667eea;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

/* 状态图标动画 */
.status-indicator {
    transition: all 0.3s ease;
    position: relative;
}

.status-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse 2s infinite;
    opacity: 0.6;
}

.status-active::before {
    background-color: #28a745;
}

.status-pending::before {
    background-color: #ffc107;
}

.status-banned::before {
    background-color: #dc3545;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.3;
    }

    100% {
        transform: scale(1);
        opacity: 0.6;
    }
}

/* 搜索图标动效 */
.search-icon {
    transition: all 0.3s ease;
}

.search-box:focus-within .search-icon {
    color: #667eea !important;
    transform: scale(1.1);
}

/* 分页图标 */
.pagination .page-link .fas {
    transition: all 0.3s ease;
}

.pagination .page-link:hover .fas {
    transform: translateX(3px);
}

.pagination .page-link:hover .fa-chevron-left {
    transform: translateX(-3px);
}

/* 英雄区域 */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3), transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(102, 126, 234, 0.4), transparent 50%);
    opacity: 0.8;
}

.min-vh-75 {
    min-height: 45vh;
}

.hero-title {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -1px;
}

.hero-subtitle {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
}

.hero-btn {
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.hero-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* 主要内容区域 */
.main-content {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

/* 卡片悬停效果 */
.card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

/* 特色卡片 */
.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-10px) scale(1.03);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.feature-card .card-body {
    position: relative;
    z-index: 1;
}

/* 按钮样式 */
.btn {
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea384 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.rounded-pill {
    border-radius: 50px !important;
}

/* 导航栏样式 */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* 徽章样式 */
.badge {
    font-size: 0.8rem;
    padding: 0.5em 0.8em;
}

/* 表单样式 */
.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: border-color 0.2s ease-in-out;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

/* 页脚样式 */
footer {
    margin-top: auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1rem !important;
    }

    .display-4 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* 项目卡片样式 */
.project-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.project-card .card-body {
    padding: 1.5rem;
}

.project-card .card-title {
    font-weight: 600;
    color: #2c3e50;
}

/* 用户头像样式 */
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.user-avatar-lg {
    width: 80px;
    height: 80px;
}

/* 状态指示器 */
.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.status-active {
    background-color: #28a745;
}

.status-pending {
    background-color: #ffc107;
}

.status-banned {
    background-color: #dc3545;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* 工具提示样式 */
.tooltip {
    font-size: 0.875rem;
}

/* 模态框样式 */
.modal-content {
    border-radius: 12px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid #e9ecef;
    border-radius: 12px 12px 0 0;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    border-radius: 0 0 12px 12px;
}

/* 分页样式 */
.pagination .page-link {
    border-radius: 6px;
    margin: 0 2px;
    border: none;
    color: #667eea;
}

.pagination .page-item.active .page-link {
    background-color: #667eea;
    border-color: #667eea;
}

/* 搜索框样式 */
.search-box {
    position: relative;
}

.search-box .form-control {
    padding-left: 40px;
}

.search-box .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
}

/* 统计区域 */
.stats-section {
    margin: 2rem 0;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.stats-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    border-radius: 20px;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
    margin: 0 20px;
}

.stats-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0.6;
}

.stats-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stats-item:hover {
    transform: translateY(-5px) scale(1.05);
}

.stats-icon-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.stats-item:hover .stats-icon-hover {
    transform: rotateY(360deg) scale(1.2);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.stats-number {
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    font-family: 'Arial', sans-serif;
}

/* 图标圆圈 */
.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.icon-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.icon-circle:hover::before {
    opacity: 1;
}

.icon-circle:hover {
    transform: rotateY(15deg) scale(1.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.bg-primary-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bg-success-gradient {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.bg-info-gradient {
    background: linear-gradient(135deg, #17a2b8 0%, #6f42c1 100%);
}

/* 渐变图标 */
.gradient-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    transition: all 0.3s ease;
}

.gradient-icon:hover {
    background: linear-gradient(135deg, #ffd700 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: scale(1.1);
}

/* 标题分割线 */
.title-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
    margin-top: 1rem;
}

/* 优势卡片 */
.advantage-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.advantage-card:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* 响应式改进 */
@media (max-width: 768px) {
    .hero-section {
        min-height: 40vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .stats-bg {
        margin: 0 10px;
        border-radius: 15px;
        padding: 1.5rem 0;
    }
    
    .icon-circle {
        width: 50px;
        height: 50px;
    }
    
    .icon-circle i {
        font-size: 1.2rem !important;
    }
    
    .features-section {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    .advantages-section {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}

/* 3D 图标效果 */
.icon-3d {
    text-shadow:
        0 1px 0 #ccc,
        0 2px 0 #c9c9c9,
        0 3px 0 #bbb,
        0 4px 0 #b9b9b9,
        0 5px 0 #aaa,
        0 6px 1px rgba(0, 0, 0, .1),
        0 0 5px rgba(0, 0, 0, .1),
        0 1px 3px rgba(0, 0, 0, .3),
        0 3px 5px rgba(0, 0, 0, .2),
        0 5px 10px rgba(0, 0, 0, .25);
    transition: all 0.3s ease;
}

.icon-3d:hover {
    transform: translateY(-2px);
    text-shadow:
        0 2px 0 #ccc,
        0 4px 0 #c9c9c9,
        0 6px 0 #bbb,
        0 8px 0 #b9b9b9,
        0 10px 0 #aaa,
        0 12px 2px rgba(0, 0, 0, .1),
        0 0 10px rgba(0, 0, 0, .1),
        0 2px 6px rgba(0, 0, 0, .3),
        0 6px 10px rgba(0, 0, 0, .2),
        0 10px 20px rgba(0, 0, 0, .25);
}

/* 霓虹灯图标效果 */
.neon-icon {
    color: #fff;
    text-shadow:
        0 0 5px #667eea,
        0 0 10px #667eea,
        0 0 15px #667eea,
        0 0 20px #667eea;
    animation: neonGlow 2s ease-in-out infinite alternate;
}

@keyframes neonGlow {
    from {
        text-shadow:
            0 0 5px #667eea,
            0 0 10px #667eea,
            0 0 15px #667eea,
            0 0 20px #667eea;
    }

    to {
        text-shadow:
            0 0 2px #667eea,
            0 0 5px #667eea,
            0 0 8px #667eea,
            0 0 12px #667eea,
            0 0 15px #667eea;
    }
}

/* 旋转图标 */
.rotating-icon {
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* 跳动图标 */
.bouncing-icon {
    animation: bounce 1.5s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* 浮动图标 */
.floating-icon {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* 彩虹图标 */
.rainbow-icon {
    background: linear-gradient(45deg,
            #ff0000, #ff7f00, #ffff00, #00ff00,
            #0000ff, #4b0082, #9400d3);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbow 3s ease infinite;
}

@keyframes rainbow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* 现代化Badge样式 */
.modern-badge {
    position: relative;
    padding: 0.5em 1em;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    overflow: hidden;
}

.modern-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.modern-badge:hover::before {
    left: 100%;
}

.modern-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 脉冲按钮 */
.pulse-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.pulse-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.pulse-btn:hover::before {
    width: 300px;
    height: 300px;
}

.pulse-btn:active {
    transform: scale(0.98);
}

/* 确保按钮可点击 */
.btn {
    position: relative;
    z-index: 1;
    pointer-events: auto;
    cursor: pointer;
}

.btn:hover {
    text-decoration: none;
}

/* 修复按钮点击问题 */
.hero-buttons .btn,
.feature-card .btn,
.advantage-card .btn {
    position: relative;
    z-index: 10;
    pointer-events: auto;
    display: inline-block;
}

/* 确保链接可点击 */
a.btn {
    text-decoration: none !important;
}

a.btn:hover {
    text-decoration: none !important;
}

/* 磁性图标效果 */
.magnetic-icon {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.magnetic-icon:hover {
    transform: scale(1.2) rotate(5deg);
    filter: brightness(1.2) saturate(1.3);
}

/* 玻璃形态图标 */
.glass-icon {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 10px;
    transition: all 0.3s ease;
}

.glass-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* 推荐项目卡片样式 */
.featured-project-card {
    border: 2px solid #ffc107;
    position: relative;
    overflow: hidden;
}

.featured-project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffc107, #fd7e14, #ffc107);
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
}

.featured-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
    border-color: #fd7e14;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* 全页面优化 */
html, body {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

/* 容器修复 */
.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

/* 修复导航栏样式 */
.navbar {
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1050;
}

/* 导航栏下拉菜单层级修复 */
.navbar .dropdown-menu {
    z-index: 1051;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    border-radius: 0.375rem;
}

.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
}

.navbar .dropdown-toggle::after {
    margin-left: 0.5em;
}

/* 间距优化 */
.features-section {
    margin-top: 0;
    position: relative;
    z-index: 1;
    padding-top: 3rem !important;
    padding-bottom: 2rem !important;
}

.advantages-section {
    margin-top: 0.5rem;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

/* 文字阴影优化 */
.text-white {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 动画延迟 */
.feature-card:nth-child(2) {
    animation-delay: 0.1s;
}

.advantage-card:nth-child(2) {
    animation-delay: 0.2s;
}

.advantage-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* 微信公众号悬浮二维码样式 */
.wechat-hover-container {
    position: relative;
    cursor: pointer;
}

.wechat-qr-popup {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    min-width: 150px;
}

.wechat-qr-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
}

.wechat-hover-container:hover .wechat-qr-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

.qr-content h6 {
    color: white;
    font-size: 12px;
    margin-bottom: 8px;
}

.qr-code-placeholder {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.qr-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    background: white;
    padding: 5px;
}

/* 链接悬停效果 */
.hover-link {
    transition: all 0.3s ease;
    position: relative;
}

.hover-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transition: width 0.3s ease;
}

.hover-link:hover {
    color: #667eea !important;
    transform: translateY(-1px);
}

.hover-link:hover::after {
    width: 100%;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .wechat-qr-popup {
        left: 0;
        transform: translateX(0);
        margin-left: -20px;
    }
    
    .wechat-qr-popup::after {
        left: 30px;
        transform: translateX(0);
    }
    
    .wechat-hover-container:hover .wechat-qr-popup {
        transform: translateX(0) translateY(-5px);
    }
}