

/* 步骤卡片样式 */
.step-card {
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    background-color: transparent !important;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s;
}

.step-card:hover::before {
    left: 100%;
}

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

/* 主题色背景 */
.step-card.step-card-green {
    background: linear-gradient(135deg, #51cf66 0%, #40c057 100%) !important;
}

.step-card.step-card-blue {
    background: linear-gradient(135deg, #74c0fc 0%, #339af0 100%) !important;
}

.step-card.step-card-purple {
    background: linear-gradient(135deg, #845ec2 0%, #6c5ce7 100%) !important;
}

/* 白色半透明文字 */
.text-white-75 {
    color: rgba(255, 255, 255, 0.9) !important;
}

.step-number .badge {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.step-icon {
    transition: all 0.3s ease;
}

.step-card:hover .step-icon {
    transform: scale(1.1);
}

/* 优化的highlight样式 */
.step-highlight {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.step-highlight:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

.step-highlight-green,
.step-highlight-blue,
.step-highlight-purple {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* 背景渐变样式 */
.bg-gradient-light {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(248, 250, 252, 0.98) 100%);
}

/* 亮点视觉元素 */
.highlight-visual {
    animation: float 3s ease-in-out infinite;
}

/* 预设主题卡片样式 */
.preset-theme-card {
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 400px;
    overflow: hidden;
}

.preset-theme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
}

.preset-theme-icon {
    transition: all 0.3s ease;
}

.preset-theme-card:hover .preset-theme-icon {
    transform: scale(1.05);
}

/* 分页样式 */
#interests-pagination,
#preferences-pagination {
    margin-bottom: 1.5rem;
}

#interests-pagination .pagination,
#preferences-pagination .pagination {
    margin-bottom: 0;
    gap: 6px;
}

#interests-pagination .page-item,
#preferences-pagination .page-item {
    margin: 0;
}

#interests-pagination .page-link,
#preferences-pagination .page-link {
    color: #374151;
    border: none;
    border-radius: 8px;
    min-width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.08),
        0 1px 2px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 0.9rem;
}

#interests-pagination .page-link:hover:not(.disabled),
#preferences-pagination .page-link:hover:not(.disabled) {
    color: #1f2937;
    background: linear-gradient(135deg, #f8fafc 0%, #e5e7eb 100%);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.12),
        0 2px 4px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

#interests-pagination .page-item.active .page-link,
#preferences-pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    color: #ffffff;
    font-weight: 600;
    box-shadow: 
        0 4px 10px rgba(55, 65, 81, 0.3),
        0 2px 4px rgba(55, 65, 81, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

#interests-pagination .page-item.active .page-link:hover,
#preferences-pagination .page-item.active .page-link:hover {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    transform: none;
}

#interests-pagination .page-item.disabled .page-link,
#preferences-pagination .page-item.disabled .page-link {
    color: #9ca3af;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    box-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    cursor: not-allowed;
    opacity: 0.6;
}

#interests-pagination .page-item.disabled .page-link:hover,
#preferences-pagination .page-item.disabled .page-link:hover {
    transform: none;
}

/* 分页响应式设计 */
@media (max-width: 576px) {
    #interests-pagination .page-link,
    #preferences-pagination .page-link {
        min-width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
    
    #interests-pagination .pagination,
    #preferences-pagination .pagination {
        gap: 4px;
    }
    
    #interests-pagination,
    #preferences-pagination {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    #interests-pagination nav,
    #preferences-pagination nav {
        min-width: min-content;
    }
}

/* 预设偏好卡片样式 */
.preset-preference-card {
    transition: all 0.3s ease;
    min-height: 300px;
    overflow: hidden;
}

.preset-preference-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12) !important;
}

/* 预设主题图片样式 */
.preset-theme-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.preset-theme-card:hover .preset-theme-image {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    transform: scale(1.05);
}

/* 知识节点和偏好列表样式 */
.interests-list, .preferences-list {
    max-height: 300px;
    overflow-y: auto;
}

.interest-item, .preference-item {
    transition: all 0.2s ease;
    padding: 0.5rem 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.interest-item:hover, .preference-item:hover {
    background-color: rgba(248, 249, 250, 0.8);
    border-radius: 6px;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
}

.interest-item:last-child, .preference-item:last-child {
    border-bottom: none !important;
}

/* 主题选择按钮样式 */
.theme-selection-btn {
    transition: all 0.3s ease;
    border-radius: 12px;
    font-weight: 500;
    padding: 16px 12px;
    border: none;
    min-width: 120px;
    min-height: 110px;
    background: #ffffff;
    color: #374151;
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.08),
        0 1px 4px rgba(0, 0, 0, 0.04);
}

.theme-selection-btn .theme-image {
    object-fit: cover;
    display: block;
}

.theme-selection-btn .theme-title {
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
    color: inherit;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.theme-selection-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.15),
        0 4px 8px rgba(0, 0, 0, 0.08);
    color: #374151;
}

/* 选中状态 - 反色 */
.theme-selection-btn.btn-danger {
    background: #374151;
    color: #ffffff;
    box-shadow: 
        0 4px 12px rgba(55, 65, 81, 0.25),
        0 2px 6px rgba(55, 65, 81, 0.15);
}

.theme-selection-btn.btn-danger:hover {
    background: #1f2937;
    color: #ffffff;
    box-shadow: 
        0 8px 20px rgba(55, 65, 81, 0.3),
        0 4px 8px rgba(55, 65, 81, 0.2);
}

/* 知识节点卡片样式 */
.interest-node-card {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.04),
        0 1px 3px rgba(0, 0, 0, 0.02);
    padding: 16px 20px !important;
    overflow: hidden;
}

.interest-node-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.interest-node-card:hover::before {
    opacity: 1;
}

.interest-node-card:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 24px rgba(239, 68, 68, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: rgba(239, 68, 68, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
}

.interest-node-card span {
    position: relative;
    z-index: 1;
    color: #374151;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    margin-right: 16px;
    transition: color 0.3s ease;
}

.interest-node-card:hover span {
    color: #1f2937;
}

.interest-node-card .interest-add-btn {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* 偏好节点卡片样式 */
.preference-node-card {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.04),
        0 1px 3px rgba(0, 0, 0, 0.02);
    padding: 16px 20px !important;
    overflow: hidden;
}

.preference-node-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preference-node-card:hover::before {
    opacity: 1;
}

.preference-node-card:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 12px 24px rgba(245, 158, 11, 0.08),
        0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: rgba(245, 158, 11, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%);
}

.preference-node-card span {
    position: relative;
    z-index: 1;
    color: #374151;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.preference-node-card:hover span {
    color: #1f2937;
}

.preference-node-card .preference-add-btn {
    flex-shrink: 0;
    margin-left: 16px;
    position: relative;
    z-index: 1;
}

.preference-node-card .badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

/* 浅色半透明badge样式 */
.badge-life {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.08) 100%);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 1px 3px rgba(16, 185, 129, 0.1);
}

.preference-node-card:hover .badge-life {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.18) 0%, rgba(5, 150, 105, 0.12) 100%);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.15);
}

.badge-reading {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(37, 99, 235, 0.08) 100%);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: 0 1px 3px rgba(59, 130, 246, 0.1);
}

.preference-node-card:hover .badge-reading {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18) 0%, rgba(37, 99, 235, 0.12) 100%);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.15);
}

/* 添加按钮尺寸样式 */
.interest-add-btn, .preference-add-btn {
    font-size: 0.8rem;
    padding: 0.375rem 0.5rem;
    min-width: 36px;
    width: 36px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 分类标题样式 */
.preset-content-section h4 {
    position: relative;
}

.preset-content-section .border-top {
    height: 2px;
    opacity: 0.3;
}

/* 统一按钮样式 - 淡纯色半透明背景，黑色字体 */
.nav-btn-unified, .add-btn-unified {
    transition: all 0.3s ease;
    font-weight: 500;
    border: none;
    color: #333 !important;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

/* 导航按钮增强立体感 */
.nav-btn-unified {
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.1),
        0 2px 6px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.nav-btn-unified::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;
}

.nav-btn-unified:hover::before {
    left: 100%;
}

.nav-btn-unified:hover, .add-btn-unified:hover {
    transform: translateY(-2px);
    color: #333 !important;
}

.nav-btn-unified:active {
    transform: translateY(1px);
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.15),
        0 1px 3px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
}

.add-btn-unified:active {
    transform: translateY(0px);
}

/* 导航按钮颜色变体 */
.nav-btn-danger {
    background: rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.2);
}

.nav-btn-danger:hover {
    background: rgba(220, 53, 69, 0.25);
    border-color: rgba(220, 53, 69, 0.4);
    box-shadow: 
        0 6px 16px rgba(220, 53, 69, 0.25),
        0 3px 8px rgba(220, 53, 69, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(220, 53, 69, 0.2);
}

.nav-btn-warning {
    background: rgba(255, 193, 7, 0.15);
    border-color: rgba(255, 193, 7, 0.2);
}

.nav-btn-warning:hover {
    background: rgba(255, 193, 7, 0.25);
    border-color: rgba(255, 193, 7, 0.4);
    box-shadow: 
        0 6px 16px rgba(255, 193, 7, 0.25),
        0 3px 8px rgba(255, 193, 7, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(255, 193, 7, 0.2);
}

.nav-btn-primary {
    background: rgba(13, 110, 253, 0.15);
    border-color: rgba(13, 110, 253, 0.2);
}

.nav-btn-primary:hover {
    background: rgba(13, 110, 253, 0.25);
    border-color: rgba(13, 110, 253, 0.4);
    box-shadow: 
        0 6px 16px rgba(13, 110, 253, 0.25),
        0 3px 8px rgba(13, 110, 253, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(13, 110, 253, 0.2);
}

.nav-btn-info {
    background: rgba(13, 202, 240, 0.15);
    border-color: rgba(13, 202, 240, 0.2);
}

.nav-btn-info:hover {
    background: rgba(13, 202, 240, 0.25);
    border-color: rgba(13, 202, 240, 0.4);
    box-shadow: 
        0 6px 16px rgba(13, 202, 240, 0.25),
        0 3px 8px rgba(13, 202, 240, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(13, 202, 240, 0.2);
}

/* 添加按钮颜色变体 */
.add-btn-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.08) 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 8px;
    box-shadow: 
        0 2px 4px rgba(239, 68, 68, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.add-btn-danger:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.12) 100%);
    border-color: rgba(239, 68, 68, 0.3);
    box-shadow: 
        0 4px 8px rgba(239, 68, 68, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

.add-btn-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.08) 100%);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 8px;
    box-shadow: 
        0 2px 4px rgba(245, 158, 11, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.add-btn-warning:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(217, 119, 6, 0.12) 100%);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 
        0 4px 8px rgba(245, 158, 11, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

.add-btn-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.08) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 8px;
    box-shadow: 
        0 2px 4px rgba(16, 185, 129, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.add-btn-success:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.12) 100%);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 
        0 4px 8px rgba(16, 185, 129, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

.add-btn-secondary {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.1) 0%, rgba(75, 85, 99, 0.08) 100%);
    border: 1px solid rgba(107, 114, 128, 0.2);
    border-radius: 8px;
    box-shadow: 
        0 2px 4px rgba(107, 114, 128, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.add-btn-secondary:hover {
    background: linear-gradient(135deg, rgba(107, 114, 128, 0.15) 0%, rgba(75, 85, 99, 0.12) 100%);
    border-color: rgba(107, 114, 128, 0.3);
    box-shadow: 
        0 4px 8px rgba(107, 114, 128, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

/* 信息提示框样式 */
.alert-light {
    background-color: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(5px);
}

/* 偏好预览徽章样式已与知识节点保持一致，使用相同的灰色样式 */

/* 淡蓝渐变按钮样式 */
.btn-gradient-blue {
    background: linear-gradient(135deg, #59b0e6 0%, #626dec 100%);
    border: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-gradient-blue::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;
}

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

.btn-gradient-blue:hover::before {
    left: 100%;
}

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

/* 预设应用按钮动画 */
.preset-apply-btn {
    transition: all 0.3s ease;
    font-weight: 500;
}

/* 成功提示框样式 */
.alert.position-fixed {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 10px;
}

/* 预设图标定位 */
.preset-icon .position-absolute {
    top: -10px !important;
    right: -10px !important;
}

.credits-visual {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

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

/* 卡片样式优化 */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

/* 按钮样式增强 */
.btn {
    transition: all 0.3s ease;
    border-radius: 8px;
}

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

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.btn-dark {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    border: none;
    box-shadow: 0 4px 12px rgba(55, 65, 81, 0.3);
}

.btn-dark:hover {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    box-shadow: 0 6px 16px rgba(55, 65, 81, 0.4);
}

.btn-outline-dark {
    border: 2px solid #374151;
    color: #374151;
    background: transparent;
}

.btn-outline-dark:hover {
    background: #374151;
    border-color: #374151;
    color: white;
}

/* 交互式引导instruction-text美化样式 */
.instruction-container {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.1) 0%, 
        rgba(147, 51, 234, 0.08) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    margin: 1rem 0;
    box-shadow: 
        0 8px 25px rgba(59, 130, 246, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    animation: instructionPulse 3s ease-in-out infinite;
}

.instruction-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    animation: instructionShimmer 2s ease-in-out infinite;
}

.instruction-icon {
    margin-bottom: 1rem;
}

.instruction-icon i {
    font-size: 2rem;
    color: #3b82f6;
    animation: iconBounce 2s ease-in-out infinite;
    text-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.instruction-text-enhanced {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e40af !important;
    line-height: 1.5;
    margin: 1rem 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.3px;
}

.instruction-arrow {
    margin-top: 1rem;
    animation: arrowBounce 1.5s ease-in-out infinite;
}

.instruction-arrow i {
    font-size: 1.5rem;
    color: #6366f1;
    text-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
}

/* 动画效果 */
@keyframes instructionPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 
            0 8px 25px rgba(59, 130, 246, 0.15),
            0 4px 12px rgba(0, 0, 0, 0.08),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 
            0 12px 35px rgba(59, 130, 246, 0.2),
            0 6px 16px rgba(0, 0, 0, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
}

@keyframes instructionShimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes arrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .instruction-container {
        padding: 1.5rem 1rem;
        margin: 0.5rem 0;
    }
    
    .instruction-text-enhanced {
        font-size: 1.1rem;
    }
    
    .instruction-icon i {
        font-size: 1.5rem;
    }
    
    .instruction-arrow i {
        font-size: 1.25rem;
    }
}

/* 响应式优化 */
@media (max-width: 768px) {
    #hero-banner {
        padding: 2rem 1.5rem !important;
        min-height: 250px !important;
    }
    
    .display-4 {
        font-size: 2rem !important;
    }
    
    .lead {
        font-size: 1.1rem !important;
    }
    
    .card-body {
        padding: 2rem !important;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem !important;
    }
    
    /* 手机端预设内容库优化 */
    .preset-theme-card, .preset-preference-card {
        min-height: auto;
    }
    
    .preset-theme-image {
        width: 50px;
        height: 50px;
    }
    
    .interests-list, .preferences-list {
        max-height: 250px;
    }
    
    .interest-add-btn, .preference-add-btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.4rem;
        min-width: 32px;
        width: 32px;
        height: 28px;
    }
    
    .interest-item, .preference-item {
        font-size: 0.9rem;
    }
    
    /* 手机端导航按钮优化 */
    .alert .d-flex.align-items-center.justify-content-between {
        flex-direction: column;
        align-items: flex-start !important;
        margin-bottom: 0.5rem;
    }
    
    .alert .nav-btn-3d {
        margin-bottom: 0.5rem;
    }
    
    .alert small.text-muted:last-child {
        margin-top: 0.25rem;
    }
}

/* 交互式引导样式 */
#interactive-guide {
    position: relative;
    border: 2px solid rgba(50, 50, 50, 0.8);
    transition: all 0.3s ease;
}

#interactive-guide:hover {
    border-color: rgba(80, 80, 80, 0.9);
    box-shadow: 
        inset 0 2px 20px rgba(255, 255, 255, 0.08), 
        0 8px 25px rgba(0, 0, 0, 0.4);
}

#article-detail-panel {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 3px solid #3b82f6;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

#guide-controls .btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#guide-controls .btn::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;
}

#guide-controls .btn:hover::before {
    left: 100%;
}

#guide-controls .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

#guide-instructions .alert {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 1px solid #93c5fd;
    animation: fadeInUp 0.5s ease-out;
}

/* SVG元素样式增强 */
.node rect {
    transition: all 0.3s ease;
}

.node:hover rect {
    filter: drop-shadow(0 6px 20px rgba(0,0,0,0.2)) !important;
}

.connection-line {
    animation: dashMove 2s linear infinite;
}

@keyframes dashMove {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: 20;
    }
}

.article-card rect {
    transition: all 0.3s ease;
}

.article-card:hover rect {
    filter: drop-shadow(0 8px 25px rgba(59, 130, 246, 0.2)) !important;
}

/* 新知识节点徽章动画 */
#new-interests-list .badge {
    animation: bounceIn 0.5s ease-out;
    transition: all 0.3s ease;
}

#new-interests-list .badge:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

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

/* 响应式优化 */
@media (max-width: 768px) {
    #interactive-guide {
        min-height: 400px !important;
    }
    
    #article-detail-panel {
        width: 100% !important;
        height: auto !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        z-index: 1050 !important;
        animation: slideInUp 0.3s ease-out;
    }
    
    @keyframes slideInUp {
        from {
            transform: translateY(100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    #guide-controls .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease-out;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
/* 扩展模式卡片样式 - 玻璃态设计 */
.extension-mode-card {
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 4px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: fadeInUp 0.6s ease-out backwards;
}

/* 玻璃反光效果 */
.extension-mode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(255, 255, 255, 0) 100%);
    border-radius: 1.5rem 1.5rem 0 0;
    pointer-events: none;
}

/* 深度研究 - 蓝色背景 */
.row > div:nth-child(1) .extension-mode-card {
    background: linear-gradient(135deg, 
        rgba(219, 234, 254, 0.4) 0%, 
        rgba(191, 219, 254, 0.3) 50%,
        rgba(219, 234, 254, 0.25) 100%);
    border-color: rgba(96, 165, 250, 0.2);
}

.row > div:nth-child(1) .extension-mode-card:hover {
    background: linear-gradient(135deg, 
        rgba(219, 234, 254, 0.65) 0%, 
        rgba(191, 219, 254, 0.5) 50%,
        rgba(219, 234, 254, 0.45) 100%);
    border-color: rgba(96, 165, 250, 0.4);
}

/* 长文扩写 - 绿色背景 */
.row > div:nth-child(2) .extension-mode-card {
    background: linear-gradient(135deg, 
        rgba(209, 250, 229, 0.4) 0%, 
        rgba(167, 243, 208, 0.3) 50%,
        rgba(209, 250, 229, 0.25) 100%);
    border-color: rgba(52, 211, 153, 0.2);
}

.row > div:nth-child(2) .extension-mode-card:hover {
    background: linear-gradient(135deg, 
        rgba(209, 250, 229, 0.65) 0%, 
        rgba(167, 243, 208, 0.5) 50%,
        rgba(209, 250, 229, 0.45) 100%);
    border-color: rgba(52, 211, 153, 0.4);
}

/* 剧情模式 - 橙色背景 */
.row > div:nth-child(3) .extension-mode-card {
    background: linear-gradient(135deg, 
        rgba(254, 243, 199, 0.4) 0%, 
        rgba(253, 230, 138, 0.3) 50%,
        rgba(254, 243, 199, 0.25) 100%);
    border-color: rgba(251, 191, 36, 0.2);
}

.row > div:nth-child(3) .extension-mode-card:hover {
    background: linear-gradient(135deg, 
        rgba(254, 243, 199, 0.65) 0%, 
        rgba(253, 230, 138, 0.5) 50%,
        rgba(254, 243, 199, 0.45) 100%);
    border-color: rgba(251, 191, 36, 0.4);
}

/* 开放情境 - 青色背景 */
.row > div:nth-child(4) .extension-mode-card {
    background: linear-gradient(135deg, 
        rgba(207, 250, 254, 0.4) 0%, 
        rgba(165, 243, 252, 0.3) 50%,
        rgba(207, 250, 254, 0.25) 100%);
    border-color: rgba(34, 211, 238, 0.2);
}

.row > div:nth-child(4) .extension-mode-card:hover {
    background: linear-gradient(135deg, 
        rgba(207, 250, 254, 0.65) 0%, 
        rgba(165, 243, 252, 0.5) 50%,
        rgba(207, 250, 254, 0.45) 100%);
    border-color: rgba(34, 211, 238, 0.4);
}

.row > div:nth-child(1) .extension-mode-card { animation-delay: 0.1s; }
.row > div:nth-child(2) .extension-mode-card { animation-delay: 0.2s; }
.row > div:nth-child(3) .extension-mode-card { animation-delay: 0.3s; }
.row > div:nth-child(4) .extension-mode-card { animation-delay: 0.4s; }

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

.extension-mode-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.extension-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* 图标玻璃质感 */
.extension-icon::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    height: 45%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.4) 0%, 
        rgba(255, 255, 255, 0) 100%);
    border-radius: 50% 50% 50% 50% / 50% 50% 0 0;
    pointer-events: none;
}

.extension-icon i {
    font-size: 2rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.research-icon {
    background: rgba(59, 130, 246, 0.12);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
}

.research-icon i {
    color: #2563eb;
}

.longtext-icon {
    background: rgba(16, 185, 129, 0.12);
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.2);
}

.longtext-icon i {
    color: #059669;
}

.adventure-icon {
    background: rgba(245, 158, 11, 0.12);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.2);
}

.adventure-icon i {
    color: #d97706;
}

.scenario-icon {
    background: rgba(6, 182, 212, 0.12);
    box-shadow: 0 4px 16px rgba(6, 182, 212, 0.2);
}

.scenario-icon i {
    color: #0891b2;
}

.extension-mode-card:hover .extension-icon {
    transform: scale(1.15) rotate(-5deg);
}

.extension-mode-card:hover .research-icon {
    background: rgba(59, 130, 246, 0.18);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
}

.extension-mode-card:hover .longtext-icon {
    background: rgba(16, 185, 129, 0.18);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

.extension-mode-card:hover .adventure-icon {
    background: rgba(245, 158, 11, 0.18);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}

.extension-mode-card:hover .scenario-icon {
    background: rgba(6, 182, 212, 0.18);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.35);
}

.extension-mode-card:hover .extension-icon i {
    transform: scale(1.1);
}

.extension-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    letter-spacing: -0.02em;
}

.extension-mode-card:hover .extension-title {
    color: #111827;
    transform: translateY(-2px);
}

.extension-desc {
    font-size: 0.925rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.extension-mode-card:hover .extension-desc {
    color: #1f2937;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .extension-mode-card {
        padding: 1.5rem 1rem;
    }
    
    .extension-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 1.25rem;
    }
    
    .extension-icon i {
        font-size: 1.75rem;
    }
    
    .extension-title {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }
    
    .extension-desc {
        font-size: 0.875rem;
    }
}

/* ==================== 示例文章样式 ==================== */

.sample-articles-section {
    padding: 0;
}

.sample-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.sample-article-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(248, 250, 252, 0.98) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 1.25rem;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.06),
        0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.sample-article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        rgba(255, 255, 255, 0.5),
        rgba(255, 255, 255, 0.3),
        transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

.sample-article-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.12),
        0 6px 16px rgba(0, 0, 0, 0.08);
    border-color: rgba(59, 130, 246, 0.2);
}

.sample-article-card:hover::before {
    left: 100%;
}

.sample-article-header {
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.1) 0%, 
        rgba(147, 51, 234, 0.05) 100%);
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.sample-article-topic {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.sample-article-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* .sample-article-meta 样式已移除，因为不再显示元数据 */

.sample-article-body {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
}

.sample-article-preview {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sample-article-extensions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.extension-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.extension-badge.research {
    background: rgba(34, 197, 94, 0.15);
    color: #166534;
    border-color: rgba(34, 197, 94, 0.25);
}

.extension-badge.adventure {
    background: rgba(34, 197, 94, 0.15);
    color: #166534;
    border-color: rgba(34, 197, 94, 0.25);
}

.extension-badge.scenario {
    background: rgba(34, 197, 94, 0.15);
    color: #166534;
    border-color: rgba(34, 197, 94, 0.25);
}

.extension-badge.long_article {
    background: rgba(34, 197, 94, 0.15);
    color: #166534;
    border-color: rgba(34, 197, 94, 0.25);
}

.sample-article-footer {
    padding: 0 1.5rem 1.5rem;
    position: relative;
    z-index: 2;
}

.copy-article-btn {
    width: 100%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: 0.875rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.copy-article-btn::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.6s ease;
}

.copy-article-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.copy-article-btn:hover::before {
    left: 100%;
}

.copy-article-btn:active {
    transform: translateY(0);
}

.copy-article-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.copy-article-btn.loading {
    pointer-events: none;
}

.copy-article-btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 小尺寸获取按钮样式 */
.copy-article-btn-small {
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
    border-radius: 0.5rem !important;
    background: linear-gradient(135deg, #25917f, #20c997) !important;
    color: white !important;
    border: 1px solid #1e7e34 !important;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3) !important;
}

.copy-article-btn-small:hover {
    background: linear-gradient(135deg, #218838, #1c7430) !important;
    color: white !important;
    border-color: #1a6e29 !important;
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.4) !important;
    transform: translateY(-1px) !important;
}

.copy-article-btn-small:active {
    transform: translateY(0) !important;
}

.copy-article-btn-small:disabled {
    background: linear-gradient(135deg, #6c757d, #5a6268) !important;
    color: rgba(255, 255, 255, 0.7) !important;
    border-color: #545b62 !important;
    opacity: 0.6 !important;
}

/* 禁用状态的按钮样式 */
.copy-article-btn-disabled {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
    color: #6c757d !important;
    border-color: #dee2e6 !important;
    cursor: not-allowed !important;
    opacity: 0.8 !important;
}

.copy-article-btn-disabled:hover {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
    color: #6c757d !important;
    border-color: #dee2e6 !important;
    transform: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

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

/* 空状态样式 */
.sample-articles-empty {
    text-align: center;
    padding: 3rem 2rem;
    color: #6b7280;
}

.sample-articles-empty i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .sample-articles-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .sample-article-card {
        border-radius: 1rem;
    }
    
    .sample-article-header,
    .sample-article-body,
    .sample-article-footer {
        padding: 1.25rem;
    }
    
    .sample-article-title {
        font-size: 1.1rem;
    }
}


/* 扩展模式卡片响应式设计 */
@media (max-width: 992px) {
    .extension-mode-card {
        padding: 1.25rem;
    }
    
    .extension-icon {
        width: 50px;
        height: 50px;
    }
    
    .extension-icon i {
        font-size: 1.25rem;
    }
    
}

@media (max-width: 768px) {
    .extension-mode-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .extension-desc {
        font-size: 0.85rem;
    }
}
