@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.detail-header {
    background: linear-gradient(135deg, #FF7A00, #FF6100);
    color: white;
    padding: 20px 0;
    margin-bottom: 3px;
}

.detail-content {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 3px;
}

.share-preview-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.info-meta {
    background: #f8f9fa;
    padding: 15px;
    border-bottom: 1px solid #dee2e6;
}

.info-content {
    padding: 30px;
    line-height: 1.8;
    font-size: 16px;
}

.info-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.share-section {
    background: #fff9f0;
    padding: 20px;
    border-top: 1px solid #dee2e6;
    margin-bottom: 3px;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    background: white;
    transition: all 0.3s;
}

.share-btn:hover {
    background: #f8f9fa;
    text-decoration: none;
    color: #333;
}

.share-btn.wechat {
    background: #07C160;
    color: white;
    border-color: #07C160;
}

.share-btn.wechat:hover {
    background: #06a050;
    color: white;
}

.share-btn.weibo {
    background: #E6162D;
    color: white;
    border-color: #E6162D;
}

.share-btn.weibo:hover {
    background: #d01429;
    color: white;
}

.share-btn.qq {
    background: #12B7F5;
    color: white;
    border-color: #12B7F5;
}

.share-btn.qq:hover {
    background: #0fa5e0;
    color: white;
}

.related-section {
    margin-top: 3px;
}

.related-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.related-card:hover {
    transform: translateY(-2px);
}

.related-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-content {
    padding: 15px;
}

.related-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.related-date {
    font-size: 12px;
    color: #999;
}

.stats {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 14px;
}

.breadcrumb-nav {
    background: white;
    padding: 15px 0;
    margin-bottom: 3px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.category-badge {
    background: #FF9D33;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    display: inline-block;
}

.copy-success {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #28a745;
    color: white;
    padding: 15px 25px;
    border-radius: 25px;
    font-size: 14px;
    z-index: 9999;
    display: none;
    animation: fadeInOut 2s ease-in-out;
}

/* 分享模态框样式 */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-in-out;
}

.share-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

.share-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
}

.share-modal-header h5 {
    margin: 0;
    font-weight: bold;
    color: #333;
}

.share-modal-header .close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.share-modal-header .close:hover {
    color: #666;
}

.share-modal-body {
    padding: 20px;
}

.share-preview {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.share-preview-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.share-preview-info {
    flex: 1;
    min-width: 0;
}

.share-preview-info h6 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: bold;
    color: #333;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.share-preview-info p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.share-options {
    text-align: center;
}

.share-option-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.share-option-btn:hover {
    background: #0056b3;
}

.share-option-btn i {
    font-size: 16px;
}

/* 二维码模态框样式 */
.qr-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    animation: fadeIn 0.3s ease-in-out;
}

.qr-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

.qr-content h6 {
    margin-bottom: 15px;
    font-weight: bold;
    color: #333;
}

.qr-image {
    width: 200px;
    height: 200px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.qr-content p {
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

/* 微信分享提示样式 */
.wechat-share-tip {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease-in-out;
}

.wechat-share-tip .tip-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 300px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
}

.wechat-share-tip .tip-content i.fa-weixin {
    font-size: 48px;
    color: #07C160;
    margin-bottom: 15px;
}

.wechat-share-tip .tip-content h5 {
    color: #333;
    margin-bottom: 10px;
    font-weight: bold;
}

.wechat-share-tip .tip-content p {
    color: #666;
    margin-bottom: 5px;
    font-size: 14px;
}

.wechat-share-tip .tip-content i.fa-ellipsis-v {
    color: #999;
    margin: 0 3px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    20% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    80% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
}

@media (max-width: 768px) {
    .info-content {
        padding: 20px;
        font-size: 15px;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .related-card {
        margin-bottom: 15px;
    }
}