/* 关注模块样式 */
.follow-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 20px;
}

.follow-modal.active {
    display: flex;
}

.follow-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    padding: 30px;
    animation: modalFadeIn 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

.follow-modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.follow-modal-title {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 8px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.follow-modal-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.follow-sections {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.follow-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

.follow-section-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.follow-section-title::before {
    content: '';
    width: 4px;
    height: 18px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* 二维码区域 */
.follow-qrcode-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    margin-bottom: 10px;
}

.follow-qrcode {
    width: 180px;
    height: 180px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 10px;
    background: white;
}

.follow-qrcode img {
    width: 100%;
    height: 100%;
    display: block;
}

.follow-qrcode-hint {
    text-align: center;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* QQ群列表 */
.follow-qq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.follow-qq-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 15px;
    border-radius: 8px;
    transition: all 0.2s;
}

.follow-qq-item:hover {
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.follow-qq-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.follow-qq-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #12b7f5 0%, #1890ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
}

.follow-qq-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.follow-qq-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.follow-qq-number {
    font-size: 13px;
    color: #999;
    font-family: 'Courier New', monospace;
}

.follow-qq-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #12b7f5 0%, #1890ff 100%);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.follow-qq-btn:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

/* 社交平台列表 */
.follow-social-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.follow-social-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: #333;
    position: relative;
}

.follow-social-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.follow-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.follow-social-icon.weixin {
    background: linear-gradient(135deg, #07c160 0%, #00b050 100%);
}

.follow-social-icon.weibo {
    background: linear-gradient(135deg, #e6162d 0%, #ff4757 100%);
}

.follow-social-icon.bilibili {
    background: linear-gradient(135deg, #00a1d6 0%, #00bcd4 100%);
}

.follow-social-icon.douyin {
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
}

.follow-social-name {
    font-size: 14px;
    font-weight: 500;
}

/* 悬浮显示二维码 */
.follow-social-item[data-qr] {
    position: relative;
}

.follow-qr-hover {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    display: none;
    z-index: 100;
    pointer-events: none;
}

.follow-social-item:hover .follow-qr-hover {
    display: block;
}

.follow-qr-hover img {
    width: 150px;
    height: 150px;
    display: block;
    border-radius: 8px;
}

.follow-qr-hover-text {
    text-align: center;
    font-size: 12px;
    color: #666;
    margin-top: 8px;
}

/* 关闭按钮 */
.follow-modal-close {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    background: #e9ecef;
    color: #333;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.follow-modal-close:hover {
    background: #dee2e6;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .follow-modal-content {
        padding: 25px 20px;
        max-height: 85vh;
    }

    .follow-qrcode {
        width: 160px;
        height: 160px;
    }

    .follow-social-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .follow-modal-content {
        padding: 20px 15px;
    }

    .follow-qrcode {
        width: 140px;
        height: 140px;
    }

    .follow-qq-item {
        padding: 12px;
    }

    .follow-qq-icon {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
}
