:root {
    --primary-color: #2563eb;
    --secondary-color: #3b82f6;
    --accent-color: #60a5fa;
    --background-color: #f8fafc;
    --card-background: rgba(255, 255, 255, 0.9);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 12px -2px rgba(0,0,0,0.15);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --border-color: rgba(0,0,0,0.1);
    --text-primary: #1e293b;
    --text-secondary: #64748b;
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translateY(0);
    }
    40%, 43% {
        transform: translateY(-10px);
    }
    70% {
        transform: translateY(-5px);
    }
    90% {
        transform: translateY(-2px);
    }
}

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

/* 页面加载动画 */
.product-detail-card {
    animation: fadeInUp 0.6s ease-out;
}

.related-nav-card {
    animation: slideInLeft 0.6s ease-out;
}

.related-nav-card:nth-child(even) {
    animation: slideInRight 0.6s ease-out;
}

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

.stat-item:nth-child(2) {
    animation-delay: 0.1s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.2s;
}

/* 悬停效果增强 */
.product-detail-card,
.download-card,
.related-nav-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-detail-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 按钮点击效果 */
.btn:active {
    transform: scale(0.95);
}

.download-btn:active,
.online-reading-btn:active {
    transform: scale(0.98) translateY(1px);
}

/* 图片加载动画 */
.product-image {
    animation: fadeIn 0.8s ease-out;
}

.thumbnail-img {
    animation: fadeIn 0.6s ease-out;
}

/* 滚动条动画 */
body {
    scroll-behavior: smooth;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

body {
    background: var(--background-color);
    background-image: 
        radial-gradient(at 40% 20%, rgba(37,99,235,0.1) 0px, transparent 50%),
        radial-gradient(at 80% 0%, rgba(96,165,250,0.1) 0px, transparent 50%),
        radial-gradient(at 0% 50%, rgba(37,99,235,0.1) 0px, transparent 50%);
    background-attachment: fixed;
    color: #1e293b;
}

.website-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* 商品详情卡片样式 */
.product-detail-card {
    background: var(--card-background);
    backdrop-filter: blur(10px);
    border-radius: 1.2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.product-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* 商品图片区域 */
.product-image-section {
    position: relative;
    margin-bottom: 2rem;
    border-radius: 1.2rem 1.2rem 0 0;
    overflow: hidden;
}

/* 商品图片画廊 */
.product-gallery {
    background: white;
    border-radius: 1.2rem 1.2rem 0 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-main-image {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: zoom-in;
}

.product-image:hover {
    transform: scale(1.05);
}

.product-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-main-image:hover .product-image-overlay {
    opacity: 1;
}

.product-actions-overlay {
    display: flex;
    gap: 0.8rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 1rem;
}

.product-main-image:hover .product-actions-overlay {
    transform: translateY(0);
}

/* 缩略图区域 */
.product-thumbnails {
    background: rgba(248, 249, 250, 0.8);
    padding: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.thumbnail-container {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.thumbnail-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.thumbnail-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.thumbnail-item.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(37, 99, 235, 0.1);
    pointer-events: none;
}

.thumbnail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail-item:hover .thumbnail-img {
    transform: scale(1.1);
}

/* 图片工具栏 */
.image-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1rem;
    background: rgba(248, 249, 250, 0.9);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.toolbar-left .image-info {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.toolbar-right {
    display: flex;
    gap: 0.5rem;
}

.toolbar-right .btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
    border-radius: 0.3rem;
    transition: all 0.2s ease;
}

.toolbar-right .btn:hover {
    transform: translateY(-1px);
}

.product-no-image {
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 1.2rem 1.2rem 0 0;
}

/* 图片加载动画 */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 商品信息区域 */
.product-info-section {
    padding: 2rem;
}

.product-header {
    margin-bottom: 2rem;
}

/* 商品顶部元信息 */
.product-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.product-category-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.2);
}

/* 状态标签 */
.product-status-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.free-badge {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3);
}

.hot-badge {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
    color: white;
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
    animation: pulse-hot 2s infinite;
}

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

.product-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-brief {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(37, 99, 235, 0.02));
    border-left: 4px solid var(--primary-color);
    border-radius: 0 0.8rem 0.8rem 0;
    position: relative;
    overflow: hidden;
}

.product-brief::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
}

/* 商品统计信息 */
.product-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0.8rem;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.rating-section {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.star-rating {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    color: #ffc107;
    font-size: 1rem;
}

.rating-text {
    color: var(--text-primary);
    font-weight: 600;
    margin-left: 0.5rem;
}

.rating-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.view-stats {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 价格区域 */
.product-price-section {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.08), rgba(255, 193, 7, 0.08));
    border-radius: 0.8rem;
    border: 1px solid rgba(220, 53, 69, 0.15);
    background-color: rgba(255, 255, 255, 0.9);
}

.price-header {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* 属性区域 */
.product-attributes-section {
    margin-bottom: 1.5rem;
}

.attributes-header {
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* 商品特色 */
.product-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0.5rem;
    border: 1px solid rgba(37, 99, 235, 0.1);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(37, 99, 235, 0.05);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* 价格样式 */
.product-price {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.08), rgba(255, 193, 7, 0.08));
    border-radius: 1rem;
    border: 1px solid rgba(220, 53, 69, 0.15);
    position: relative;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.95);
}

.product-price::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #dc3545, #ffc107, #28a745);
    animation: priceShimmer 3s ease-in-out infinite;
}

@keyframes priceShimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.price-container {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    position: relative;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    justify-content: center;
}

.current-price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #dc3545;
    text-shadow: 0 2px 4px rgba(220, 53, 69, 0.2);
    position: relative;
    display: flex;
    align-items: baseline;
}

.current-price::before {
    content: '¥';
    font-size: 1.2rem;
    margin-right: 0.2rem;
    color: #dc3545;
}

.original-price {
    font-size: 1.3rem;
    color: #6c757d;
    text-decoration: line-through;
    opacity: 0.8;
    position: relative;
}

.original-price::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #dc3545;
    transform: rotate(-5deg);
}

.discount-badge {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
}

.discount-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: discountShine 3s infinite;
}

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

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

/* 商品属性 */
.product-attributes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.attribute-item {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 1rem;
    padding: 1rem 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.attribute-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.attribute-item:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.03));
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.attribute-item:hover::before {
    transform: scaleY(1);
}

.attribute-label {
    font-weight: 600;
    color: var(--text-secondary);
    margin-right: 0.8rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.attribute-value {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
}

.attribute-link {
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 0.2rem 0.5rem;
    border-radius: 0.3rem;
}

.attribute-link:hover {
    background: rgba(37, 99, 235, 0.1);
    transform: translateY(-1px);
}

.attribute-link i {
    font-size: 0.8rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.attribute-link:hover i {
    opacity: 1;
}

.attribute-value::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.attribute-item:hover .attribute-value::after {
    width: 100%;
}

/* 商品描述 */
.product-description {
    margin-bottom: 2rem;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.description-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.description-content {
    color: var(--text-secondary);
    line-height: 1.8;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 0.8rem;
    border: 1px solid rgba(37, 99, 235, 0.1);
    font-size: 1rem;
}

/* 版权提示 */
.copyright-notice {
    margin-top: 2rem;
}

.copyright-notice .alert {
    border-radius: 0.8rem;
    border: none;
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.1), rgba(13, 202, 240, 0.05));
    backdrop-filter: blur(10px);
}

.website-info-card {
    background: var(--card-background);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.website-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.website-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(255,255,255,0.5);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.website-logo {
    width: 120px;
    height: 120px;
    border-radius: 1rem;
    overflow: hidden;
    margin-right: 1.5rem;
    background: white;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.website-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
}

.website-logo i {
    font-size: 3rem;
    color: var(--primary-color);
}

.website-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.website-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.website-title a:hover {
    color: var(--primary-color);
}

.website-meta {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.website-meta span {
    margin-right: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.website-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.website-actions .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.website-actions .btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.website-actions .btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.website-screenshot {
    width: 100%;
    border-radius: 1rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
}

.website-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
    padding: 1rem 1.5rem;
    background: rgba(255,255,255,0.5);
    border-radius: 0 1rem 1rem 0;
    font-size: 1rem;
}

.related-websites {
    background: var(--card-background);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

.related-websites h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.related-website-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    border: 1px solid transparent;
}

.related-website-item:hover {
    background: rgba(37,99,235,0.1);
    transform: translateX(10px);
    border-color: var(--primary-color);
}

.related-website-logo {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    object-fit: contain;
    background: white;
    padding: 0.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.related-website-info h4 {
    font-size: 1rem;
    margin: 0;
    color: var(--text-primary);
}

.related-website-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0.25rem 0 0;
}

.advertisement {
    margin-bottom: 2rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    /* 移除固定高度，让它自适应内容 */
}

.advertisement:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.advertisement img {
    width: 100%;
    display: block;
}

@media (max-width: 768px) {
    .website-header {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
    }

    .website-logo {
        width: 50px;
        height: 50px;
        margin-right: 1rem;
    }

    .website-title {
        font-size: 1.2rem;
    }

    .website-actions {
        flex-direction: column;
        width: 100%;
    }

    .website-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

.advertisement-top {
    max-width: 1200px;
    margin: 1rem auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 25vh;
    position: relative;
}

.advertisement-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.advertisement-top img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* PC端广告样式 */
.advertisement img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5rem;
}

.related-articles {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(15px);
    border-radius: 1.2rem;
    padding: 1.8rem;
    box-shadow: 
        0 10px 25px rgba(37, 99, 235, 0.1),
        0 4px 10px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.related-articles h3 {
    color: #2563eb;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(37, 99, 235, 0.2);
    display: flex;
    align-items: center;
    text-shadow: 0 1px 2px rgba(37, 99, 235, 0.1);
}

.articles-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.article-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 0.8rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.article-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.article-item:hover::before {
    transform: scaleY(1);
}

.article-item:hover {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateX(8px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.article-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    margin-right: 1rem;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.article-item:hover .article-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.4);
}

.article-content {
    flex: 1;
    min-width: 0;
}

.article-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
    margin: 0 0 0.3rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
    text-decoration: none;
}

.article-item:hover .article-title {
    color: #2563eb;
    text-decoration: none;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-date {
    font-size: 0.85rem;
    color: #64748b;
    display: flex;
    align-items: center;
}

.article-arrow {
    color: #94a3b8;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.article-item:hover .article-arrow {
    color: #2563eb;
    transform: translateX(4px);
}

.related-article-item {
    display: block;
    padding: 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    margin-bottom: 1rem;
}

.related-article-item:hover {
    background: rgba(37,99,235,0.1);
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.related-article-item h4 {
    font-size: 1rem;
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
}

.related-article-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.related-navs-horizontal {
    background: var(--card-background);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
}

.related-navs-horizontal h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.related-navs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.2rem;
}

.related-nav-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.related-nav-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.related-nav-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 1.2rem;
    height: 100%;
    position: relative;
}

.related-nav-image {
    position: relative;
    height: 180px;
    border-radius: 0.8rem;
    overflow: hidden;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.related-nav-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.related-nav-card:hover .related-nav-img {
    transform: scale(1.1);
}

.related-nav-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-nav-card:hover .related-nav-overlay {
    opacity: 1;
}

.view-badge {
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-primary);
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    backdrop-filter: blur(5px);
}

.related-nav-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 2rem;
}

.related-nav-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Related Products 价格样式 */
.related-nav-price {
    margin-bottom: 0.5rem;
}

.related-price-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.related-current-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #dc3545;
}

.related-original-price {
    font-size: 0.9rem;
    color: #6c757d;
    text-decoration: line-through;
    opacity: 0.8;
}

.related-discount-badge {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.related-nav-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.related-nav-card:hover .related-nav-title {
    color: var(--primary-color);
}

.related-nav-meta {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.nav-category, .nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: rgba(37, 99, 235, 0.08);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.nav-brand {
    background: rgba(25, 135, 84, 0.08);
    color: #198754;
}

.related-nav-card:hover .nav-category {
    background: rgba(37, 99, 235, 0.15);
    color: var(--primary-color);
}

.related-nav-card:hover .nav-brand {
    background: rgba(25, 135, 84, 0.15);
}

.related-nav-brief {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.related-nav-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.related-nav-date {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.related-nav-arrow {
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.related-nav-card:hover .related-nav-arrow {
    transform: translateX(4px);
}

.related-nav-logo {
    width: 48px;
    height: 48px;
    border-radius: 0.5rem;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.related-nav-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
}

.related-nav-info h4 {
    font-size: 1rem;
    margin: 0;
    color: var(--text-primary);
}

.related-nav-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0.25rem 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 下载信息样式 - 大气酷炫版 */
.download-info,
.download-info.download-card {
    background: linear-gradient(145deg,
        rgba(13, 110, 253, 0.1) 0%,
        rgba(25, 135, 84, 0.1) 50%,
        rgba(220, 53, 69, 0.1) 100%);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    padding: 1.8rem;
    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.08),
        0 6px 12px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.download-info::before,
.download-info.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
        transparent 30%,
        rgba(13, 110, 253, 0.05) 50%,
        transparent 70%);
    animation: wave 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes wave {
    0%, 100% { transform: translateX(-100%) skewX(-15deg); }
    50% { transform: translateX(100%) skewX(-15deg); }
}

.download-header {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.download-header h3 {
    color: #0d6efd;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 4px rgba(13, 110, 253, 0.2);
    background: linear-gradient(135deg, #0d6efd, #198754);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-subtitle {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.download-subtitle .badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-weight: 600;
}

/* 下载进度指示器 */
.download-progress-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1rem;
    border: 1px solid rgba(13, 110, 253, 0.1);
}

.progress-circle {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient(#0d6efd 0deg, #e9ecef 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

.progress-circle::before {
    content: '';
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: white;
}

.progress-fill {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-text {
    position: relative;
    z-index: 2;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0d6efd;
}

.progress-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* 下载信息统计 */
.download-info-stats {
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0.8rem;
    border: 1px solid rgba(13, 110, 253, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(13, 110, 253, 0.05);
    border-color: #0d6efd;
    transform: translateY(-2px);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0d6efd, #198754);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    box-shadow: 0 3px 8px rgba(13, 110, 253, 0.3);
}

.stat-info {
    text-align: center;
}

.stat-number {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* 下载提示 */
.download-tips {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05), rgba(255, 193, 7, 0.02));
    border-radius: 0.8rem;
    padding: 1rem;
    border: 1px solid rgba(255, 193, 7, 0.1);
}

.tips-header {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.tips-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-list li {
    display: flex;
    align-items: center;
    padding: 0.4rem 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 193, 7, 0.1);
}

.tips-list li:last-child {
    border-bottom: none;
}

.tips-list li i {
    font-size: 0.8rem;
    width: 16px;
}

.download-card {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 1.5rem;
    padding: 2rem;
    position: relative;
    z-index: 2;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.1),
        0 5px 15px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 合并后的下载信息卡片样式 */
.download-info.download-card {
    background: linear-gradient(145deg,
        rgba(13, 110, 253, 0.1) 0%,
        rgba(25, 135, 84, 0.1) 50%,
        rgba(220, 53, 69, 0.1) 100%);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem;
    padding: 1.8rem;
    box-shadow:
        0 15px 30px rgba(0, 0, 0, 0.08),
        0 6px 12px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.download-card:hover,
.download-info.download-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* 在线阅读按钮样式 */
.online-reading-button {
    position: relative;
    margin-bottom: 1rem;
}

.online-reading-btn {
    position: relative;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 0.8rem;
    border: none;
    background: linear-gradient(135deg, #198754 0%, #20c997 50%, #0dcaf0 100%);
    background-size: 200% 200%;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 
        0 6px 20px rgba(25, 135, 84, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: gradientShiftReading 3s ease infinite;
    overflow: hidden;
}

@keyframes gradientShiftReading {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.online-reading-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(25, 135, 84, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.3);
}

.online-reading-btn:hover .btn-glow {
    left: 100%;
}

.online-reading-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* 下载按钮样式 */
.download-button {
    position: relative;
    margin-bottom: 1.2rem;
}

.download-btn {
    position: relative;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 0.8rem;
    border: none;
    background: linear-gradient(135deg, #0d6efd 0%, #198754 50%, #dc3545 100%);
    background-size: 200% 200%;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 
        0 6px 20px rgba(13, 110, 253, 0.3),
        0 2px 8px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: gradientShift 3s ease infinite;
    overflow: hidden;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.download-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 35px rgba(13, 110, 253, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.3);
}

.download-btn:hover .btn-glow {
    left: 100%;
}

.download-btn:active {
    transform: translateY(-1px) scale(1.02);
}

.download-stats {
    margin-bottom: 1.5rem;
}

.stats-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.1), rgba(255, 255, 255, 0.8));
    border-radius: 0.8rem;
    padding: 1rem;
    border: 1px solid rgba(108, 117, 125, 0.2);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    white-space: nowrap;
    min-width: fit-content;
}

.stats-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6c757d, #495057);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    box-shadow: 0 3px 8px rgba(108, 117, 125, 0.25);
}

.stats-info {
    text-align: left;
    white-space: nowrap;
    min-width: fit-content;
}

.stats-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #495057;
    line-height: 1;
}

.stats-label {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
    margin-top: 0.1rem;
    white-space: nowrap;
}

.qr-code-section {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.05), rgba(255, 255, 255, 0.9));
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(108, 117, 125, 0.1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.05);
}

.qr-code-container {
    display: inline-block;
}

.qr-code-frame {
    position: relative;
    display: inline-block;
    padding: 20px;
    background: white;
    border-radius: 1.5rem;
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.1),
        0 4px 10px rgba(0, 0, 0, 0.08);
}

.qr-code-img {
    width: 150px;
    height: 150px;
    border-radius: 1rem;
    display: block;
    transition: all 0.4s ease;
}

.qr-code-frame:hover .qr-code-img {
    transform: scale(1.05);
}

.qr-code-corners {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    pointer-events: none;
}

.corner {
    position: absolute;
    width: 25px;
    height: 25px;
    border: 3px solid #0d6efd;
}

.corner-tl {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
    border-radius: 8px 0 0 0;
}

.corner-tr {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
    border-radius: 0 8px 0 0;
}

.corner-bl {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
    border-radius: 0 0 0 8px;
}

.corner-br {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
    border-radius: 0 0 8px 0;
}

.qr-code-text {
    margin-top: 1.2rem;
    font-size: 1rem;
    color: #495057;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.visit-website {
    background: var(--card-background);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.visit-website .btn {
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.visit-website .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

@media (max-width: 991px) {
    /* 在中等屏幕上显示二维码，但调整大小 */
    .qr-code-img {
        width: 120px;
        height: 120px;
    }
    
    /* 中等屏幕响应式优化 */
    .product-gallery {
        border-radius: 1rem;
    }
    
    .product-main-image {
        height: 380px;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
    
    .product-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-navs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .related-navs-grid {
        grid-template-columns: 1fr;
    }

    .advertisement-top {
        margin: 1rem;
        border-radius: 0.5rem;
        height: auto; /* 移动端自适应高度 */
    }
    
    .advertisement-top img {
        position: static; /* 移动端取消绝对定位 */
        width: 100%;
        height: auto; /* 移动端自适应高度 */
        object-fit: contain; /* 移动端保持比例缩放 */
        border-radius: 0.5rem;
    }
    
    .advertisement img {
        width: 100%;
        height: auto; /* 移动端自适应高度 */
        border-radius: 0.5rem;
    }
    
    /* 移动端商品图片展示样式 */
    .product-main-image {
        height: 280px;
        border-radius: 1rem 1rem 0 0;
    }

    .product-no-image {
        height: 280px;
        border-radius: 1rem 1rem 0 0;
    }
    
    /* 移动端缩略图样式 */
    .thumbnail-item {
        width: 60px;
        height: 60px;
    }
    
    .thumbnail-container {
        gap: 0.5rem;
    }
    
    .product-thumbnails {
        padding: 0.8rem;
    }
    
    .image-toolbar {
        padding: 0.6rem 0.8rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .toolbar-left, .toolbar-right {
        width: 100%;
        justify-content: center;
    }
    
    .toolbar-right .btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }
    
    .product-actions-overlay {
        gap: 0.5rem;
        padding: 0 0.5rem;
    }
    
    .product-actions-overlay .btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    /* 移动端布局排序 - 修复容器冲突 */
    .website-container .row {
        display: flex;
        flex-direction: column;
    }

    .main-content,
    .sidebar-content,
    .related-navs-horizontal {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }

    /* 网站信息卡片 */
    .mobile-order-1 {
        order: 1;
    }

    /* 下载卡片 */
    .mobile-order-2 {
        order: 2;
    }

    /* 相关课本 */
    .mobile-order-3 {
        order: 3;
    }
    
    .related-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .related-header h3 {
        font-size: 1.3rem;
        margin-bottom: 0;
    }
    
    .related-subtitle {
        gap: 0.4rem;
    }
    
    .related-subtitle .badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
    
    .related-subtitle .text-muted {
        font-size: 0.8rem;
    }
    
    .related-navs-grid {
        gap: 0.8rem;
        grid-template-columns: 1fr;
    }
    
    .related-nav-card {
        border-radius: 0.8rem;
    }
    
    .related-nav-link {
        padding: 0.8rem;
    }
    
    .related-nav-image {
        height: 160px;
        border-radius: 0.6rem;
        margin-bottom: 0.8rem;
    }
    
    .related-nav-title {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .related-nav-meta {
        gap: 0.6rem;
        margin-bottom: 0.6rem;
    }
    
    .nav-category, .nav-brand {
        font-size: 0.75rem;
        padding: 0.15rem 0.5rem;
    }
    
    .related-nav-brief {
        font-size: 0.85rem;
    }
    
    .related-nav-footer {
        margin-top: 0.4rem;
        padding-top: 0.4rem;
    }
    
    .related-nav-date {
        font-size: 0.7rem;
    }

    /* 相关文章 */
    .mobile-order-4 {
        order: 4;
    }

    /* 商品详情页移动端样式 */
    .product-detail-card {
        border-radius: 1rem;
        margin-bottom: 1rem;
    }

    .product-main-image {
        height: 280px;
        border-radius: 1rem 1rem 0 0;
    }

    .product-no-image {
        height: 280px;
        border-radius: 1rem 1rem 0 0;
    }

    .product-info-section {
        padding: 1.5rem;
    }

    .product-header {
        margin-bottom: 1.5rem;
    }
    
    .product-meta-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .product-status-badges {
        gap: 0.4rem;
    }
    
    .status-badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }

    .product-title {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .product-stats {
        flex-direction: column;
        gap: 0.8rem;
        padding: 0.8rem;
    }
    
    .rating-section {
        gap: 0.5rem;
    }
    
    .star-rating {
        font-size: 0.9rem;
    }
    
    .product-features {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .feature-item {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .product-price-section {
        padding: 1rem;
    }
    
    .product-attributes-section {
        margin-bottom: 1rem;
    }
    
    .product-price {
        margin-bottom: 1rem;
        padding: 0.8rem;
    }
    
    .price-container {
        gap: 0.8rem;
    }
    
    .current-price {
        font-size: 1.6rem;
    }
    
    .original-price {
        font-size: 1rem;
    }
    
    .discount-badge {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }

    .product-brief {
        font-size: 1rem;
        padding: 0.8rem;
        margin-bottom: 1rem;
    }

    .product-attributes {
        gap: 0.8rem;
        margin-bottom: 1.5rem;
    }

    .attribute-item {
        padding: 0.5rem 0.8rem;
        font-size: 0.9rem;
    }

    .description-title {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .description-content {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .product-actions-overlay {
        gap: 0.5rem;
    }

    .product-actions-overlay .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }

    .download-info {
        padding: 1.2rem;
        border-radius: 1.2rem;
        margin: 1rem 0;
    }

    .download-header h3 {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }
    
    .download-subtitle {
        gap: 0.4rem;
        margin-bottom: 1rem;
    }
    
    .download-subtitle .badge {
        font-size: 0.7rem;
        padding: 0.25rem 0.6rem;
    }
    
    .download-progress-indicator {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .progress-circle {
        width: 60px;
        height: 60px;
        margin-bottom: 0.6rem;
    }
    
    .progress-circle::before {
        width: 50px;
        height: 50px;
    }
    
    .progress-fill {
        width: 50px;
        height: 50px;
    }
    
    .progress-text {
        font-size: 1rem;
    }
    
    .progress-label {
        font-size: 0.8rem;
    }
    
    .download-info-stats {
        margin-bottom: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
    
    .stat-item {
        padding: 0.6rem;
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 0.8rem;
    }
    
    .stat-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 0;
        font-size: 0.9rem;
    }
    
    .stat-info {
        text-align: left;
    }
    
    .stat-number {
        font-size: 1rem;
        margin-bottom: 0.1rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .download-tips {
        padding: 0.8rem;
    }
    
    .tips-header {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }
    
    .tips-list li {
        font-size: 0.8rem;
        padding: 0.3rem 0;
    }
    
    .tips-list li i {
        font-size: 0.7rem;
        width: 14px;
    }

    .download-card,
    .download-info.download-card {
        padding: 1.2rem !important;
        border-radius: 1rem;
    }

    .online-reading-button {
        margin-bottom: 0.8rem;
    }

    .online-reading-btn {
        font-size: 1rem;
        padding: 0.9rem 1.8rem;
        border-radius: 0.7rem;
    }

    .download-button {
        margin-bottom: 0.8rem;
    }

    .download-btn {
        font-size: 1rem;
        padding: 0.9rem 1.8rem;
        border-radius: 0.7rem;
    }

    .download-stats {
        margin-bottom: 0 !important;
    }

    .stats-container {
        flex-direction: row;
        gap: 0.8rem;
        padding: 0.8rem;
        white-space: nowrap;
        min-width: fit-content;
    }

    .stats-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .stats-info {
        text-align: left;
        white-space: nowrap;
        min-width: fit-content;
    }

    .stats-number {
        font-size: 1.3rem;
    }

    .stats-label {
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .website-header {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        align-items: center;
    }

    .website-logo {
        width: 50px;
        height: 50px;
        margin-right: 1rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .related-navs-horizontal {
        margin-top: 1rem;
    }

    .related-articles {
        margin-top: 1rem;
        padding: 1.2rem;
        border-radius: 1rem;
    }

    .articles-list {
        gap: 0.6rem;
    }

    .article-item {
        padding: 0.8rem 1rem;
        border-radius: 0.6rem;
    }

    .article-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        margin-right: 0.8rem;
    }

    .article-title {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
    }

    .article-date {
        font-size: 0.8rem;
    }

    .article-arrow {
        font-size: 0.8rem;
    }
}

/* 小屏幕设备隐藏二维码 */
@media (max-width: 576px) {
    .qr-code-section {
        display: none !important;
    }
}

/* 网站简介样式 */
.website-brief {
    border-left: 4px solid var(--bs-primary);
    margin-top: 8px;
    margin-bottom: 12px;
    color: #FF6600;
}

/* 在线阅读按钮样式 */
.online-reading-btn {
    border: none;
}

/* 相关课本图片样式 - 移除冲突样式，使用上方定义的样式 */

/* 图片模态框样式 */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.image-modal.show {
    opacity: 1;
    visibility: visible;
}

.image-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.image-modal-content {
    position: relative;
    background: white;
    border-radius: 1rem;
    max-width: 90vw;
    max-height: 90vh;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.image-modal.show .image-modal-content {
    transform: scale(1);
}

.image-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.image-modal-header h5 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.btn-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #6c757d;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-close:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    transform: rotate(90deg);
}

.image-modal-body {
    padding: 1.5rem;
    text-align: center;
    background: white;
}

.modal-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 移动端图片模态框样式 */
@media (max-width: 768px) {
    .image-modal-content {
        max-width: 95vw;
        max-height: 95vh;
        margin: 1rem;
    }
    
    .image-modal-header {
        padding: 0.8rem 1rem;
    }
    
    .image-modal-header h5 {
        font-size: 1rem;
    }
    
    .btn-close {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .image-modal-body {
        padding: 1rem;
    }
}

/* 涟漪效果 */
.btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 工具提示样式 */
.tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    z-index: 1000;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.tooltip.show {
    opacity: 1;
    transform: translateY(0);
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
}

/* 图片懒加载样式 */
.lazy {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazy.loaded {
    opacity: 1;
}

/* 脉冲动画 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* 淡入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 加载动画 */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 悬浮效果增强 */
.product-image:hover,
.thumbnail-img:hover,
.related-nav-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 进度条完成动画 */
.progress-bar.complete {
    background: linear-gradient(90deg, #28a745, #20c997);
    animation: progress-complete 0.5s ease;
}

@keyframes progress-complete {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

/* 按钮发光效果 */
.btn-glow {
    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;
}

.download-btn:hover .btn-glow,
.online-reading-btn:hover .btn-glow {
    left: 100%;
}

/* 图片放大镜效果 */
.product-image {
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.product-image.zoomed {
    cursor: zoom-out;
    transform: scale(1.5);
}

/* 数字计数动画 */
.stat-number {
    display: inline-block;
}

/* 页面滚动时的视差效果 */
.product-detail-card {
    transition: transform 0.3s ease;
}

/* 同分类产品样式 */
.category-products-section {
    background: linear-gradient(145deg, rgba(25, 135, 84, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(15px);
    border-radius: 1.2rem;
    padding: 1.8rem;
    box-shadow:
        0 10px 25px rgba(25, 135, 84, 0.1),
        0 4px 10px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(25, 135, 84, 0.1);
    margin-top: 2rem;
}

.category-header {
    margin-bottom: 1.5rem;
}

.category-header h3 {
    color: #198754;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.category-subtitle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.category-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.category-product-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.category-product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: #198754;
}

.category-product-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 1.2rem;
    height: 100%;
    position: relative;
}

.category-product-image {
    position: relative;
    height: 160px;
    border-radius: 0.8rem;
    overflow: hidden;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.category-product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.category-product-card:hover .category-product-img {
    transform: scale(1.1);
}

.category-product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    padding: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-product-card:hover .category-product-overlay {
    opacity: 1;
}

.category-product-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 2rem;
}

.category-product-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.category-product-card:hover .category-product-title {
    color: #198754;
}

/* 同分类产品价格样式 */
.category-product-price {
    margin-bottom: 0.5rem;
}

.category-price-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.category-current-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #dc3545;
}

.category-original-price {
    font-size: 0.9rem;
    color: #6c757d;
    text-decoration: line-through;
    opacity: 0.8;
}

.category-discount-badge {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.category-product-meta {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.product-category, .product-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    background: rgba(25, 135, 84, 0.08);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.product-brand {
    background: rgba(13, 110, 253, 0.08);
    color: #0d6efd;
}

.category-product-card:hover .product-category {
    background: rgba(25, 135, 84, 0.15);
    color: #198754;
}

/* 相关文章列表样式 */
.related-articles-sidebar {
    background: linear-gradient(145deg, rgba(13, 110, 253, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(15px);
    border-radius: 1.2rem;
    padding: 1.5rem;
    box-shadow:
        0 10px 25px rgba(13, 110, 253, 0.1),
        0 4px 10px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(13, 110, 253, 0.1);
}

.related-articles-header {
    margin-bottom: 1.5rem;
}

.related-articles-header h3 {
    color: #0d6efd;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.related-articles-subtitle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.related-articles-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.related-article-item {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(13, 110, 253, 0.1);
    border-radius: 0.8rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.related-article-item:hover {
    background: rgba(13, 110, 253, 0.08);
    border-color: rgba(13, 110, 253, 0.3);
    transform: translateX(8px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.15);
}

.related-article-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 1rem;
    position: relative;
}

.related-article-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.related-article-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.related-article-item:hover .related-article-title {
    color: #0d6efd;
}

.related-article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.article-date, .article-views {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.related-article-brief {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.related-article-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 0.5rem;
}

.article-arrow {
    color: #0d6efd;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.related-article-item:hover .article-arrow {
    transform: translateX(4px);
}

/* 移动端响应式样式 */
@media (max-width: 768px) {
    .related-articles-sidebar {
        padding: 1.2rem;
        border-radius: 1rem;
    }
    
    .related-articles-header h3 {
        font-size: 1.1rem;
    }
    
    .related-articles-list {
        gap: 0.6rem;
    }
    
    .related-article-item {
        border-radius: 0.6rem;
    }
    
    .related-article-link {
        padding: 0.8rem;
    }
    
    .related-article-title {
        font-size: 0.9rem;
    }
    
    .related-article-meta {
        font-size: 0.75rem;
        gap: 0.8rem;
    }
    
    .related-article-brief {
        font-size: 0.8rem;
    }
}

.category-product-card:hover .product-brand {
    background: rgba(13, 110, 253, 0.15);
}

.category-product-brief {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.category-product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.category-product-date {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.category-product-arrow {
    color: #198754;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.category-product-card:hover .category-product-arrow {
    transform: translateX(4px);
}

/* 移动端响应式样式 */
@media (max-width: 768px) {
    .category-products-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .category-product-card {
        border-radius: 0.8rem;
    }
    
    .category-product-link {
        padding: 0.8rem;
    }
    
    .category-product-image {
        height: 140px;
        border-radius: 0.6rem;
        margin-bottom: 0.8rem;
    }
    
    .category-product-title {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .category-product-meta {
        gap: 0.6rem;
        margin-bottom: 0.6rem;
    }
    
    .product-category, .product-brand {
        font-size: 0.75rem;
        padding: 0.15rem 0.5rem;
    }
    
    .category-product-brief {
        font-size: 0.85rem;
    }
    
    .category-product-footer {
        margin-top: 0.4rem;
        padding-top: 0.4rem;
    }
    
    .category-product-date {
        font-size: 0.7rem;
    }
}

/* 响应式触摸优化 */
@media (hover: none) and (pointer: coarse) {
    .product-image:hover,
    .thumbnail-img:hover,
    .related-nav-img:hover {
        transform: none;
        box-shadow: none;
    }
    
    .btn:active {
        transform: scale(0.95);
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    .tooltip {
        background: rgba(255, 255, 255, 0.9);
        color: #333;
    }
    
    .tooltip::after {
        border-color: rgba(255, 255, 255, 0.9) transparent transparent transparent;
    }
}

/* 减少动画效果（用户偏好） */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 新增的相关文章部分样式 */
.related-articles-section {
    background: linear-gradient(145deg, rgba(13, 110, 253, 0.05) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(15px);
    border-radius: 1.2rem;
    padding: 1.5rem;
    box-shadow:
        0 10px 25px rgba(13, 110, 253, 0.1),
        0 4px 10px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(13, 110, 253, 0.1);
    margin-top: 2rem;
}

.related-articles-section .related-articles-header {
    margin-bottom: 1.5rem;
}

.related-articles-section .related-articles-header h3 {
    color: #0d6efd;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.related-articles-section .related-articles-subtitle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.related-articles-section .related-articles-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.related-articles-section .related-article-item {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(13, 110, 253, 0.1);
    border-radius: 0.8rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.related-articles-section .related-article-item:hover {
    background: rgba(13, 110, 253, 0.08);
    border-color: rgba(13, 110, 253, 0.3);
    transform: translateX(8px);
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.15);
}

.related-articles-section .related-article-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 1rem;
    position: relative;
}

.related-articles-section .related-article-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.related-articles-section .related-article-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.related-articles-section .related-article-item:hover .related-article-title {
    color: #0d6efd;
}

.related-articles-section .related-article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.related-articles-section .article-date,
.related-articles-section .article-views {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.related-articles-section .related-article-brief {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.related-articles-section .related-article-footer {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 0.5rem;
}

.related-articles-section .article-arrow {
    color: #0d6efd;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.related-articles-section .related-article-item:hover .article-arrow {
    transform: translateX(4px);
}

/* 移动端响应式样式 */
@media (max-width: 768px) {
    .related-articles-section {
        padding: 1.2rem;
        border-radius: 1rem;
        margin-top: 1.5rem;
    }
    
    .related-articles-section .related-articles-header h3 {
        font-size: 1.1rem;
    }
    
    .related-articles-section .related-articles-list {
        gap: 0.6rem;
    }
    
    .related-articles-section .related-article-item {
        border-radius: 0.6rem;
    }
    
    .related-articles-section .related-article-link {
        padding: 0.8rem;
    }
    
    .related-articles-section .related-article-title {
        font-size: 0.9rem;
    }
    
    .related-articles-section .related-article-meta {
        font-size: 0.75rem;
        gap: 0.8rem;
    }
    
    .related-articles-section .related-article-brief {
        font-size: 0.8rem;
    }
}