/* 资讯详情页面专用样式 */
.article-header {
    background: var(--hero-gradient);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.article-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/poker-pattern.png') repeat;
    opacity: 0.1;
    z-index: 1;
}

.article-header .container {
    position: relative;
    z-index: 2;
    color: white;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.article-category {
    background: var(--primary-gradient);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.article-date, .article-views {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.article-date i, .article-views i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.3;
}

.article-excerpt {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.breadcrumb-nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: white;
}

.breadcrumb-nav span {
    color: rgba(255,255,255,0.5);
}

/* 文章内容区域 */
.article-section {
    padding: 80px 0;
    background: var(--background-color);
}

.article-content {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.article-body {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1rem;
}

.article-body h2 {
    color: var(--text-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2.5rem 0 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
}

.article-body h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary-gradient);
}

.article-body h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.article-body p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.article-body ul, .article-body ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.8rem;
}

.article-body blockquote {
    background: var(--primary-light);
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
    font-style: italic;
    color: var(--text-light);
}

.article-image {
    width: 100%;
    margin: 2rem 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow-color);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-image-caption {
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

/* 文章底部功能 */
.article-footer {
    background: var(--card-gradient);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 3rem;
    border: 1px solid var(--border-color);
}

.article-tags {
    margin-bottom: 2rem;
}

.article-tags h4 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.tag-list {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.tag-item {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--primary-color);
}

.tag-item:hover {
    background: var(--primary-gradient);
    color: white;
    transform: translateY(-2px);
}

.article-share {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.article-share h4 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.share-wechat {
    background: linear-gradient(135deg, #07c160, #00ae47);
    color: white;
}

.share-weibo {
    background: linear-gradient(135deg, #e6162d, #ff8500);
    color: white;
}

.share-qq {
    background: linear-gradient(135deg, #12b7f5, #0099ff);
    color: white;
}

.share-copy {
    background: var(--card-bg);
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.share-copy:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* 相关文章 */
.related-articles {
    margin-top: 3rem;
}

.related-articles h3 {
    color: var(--text-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px var(--shadow-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.related-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow-color);
}

.related-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

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

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

.related-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-gradient);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.related-content {
    padding: 1.5rem;
}

.related-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.related-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.related-meta {
    display: flex;
    gap: 1rem;
    color: var(--text-light);
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

.related-meta i {
    color: var(--primary-color);
    margin-right: 0.3rem;
}

.related-excerpt {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 侧边栏 */
.sidebar-card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px var(--shadow-color);
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.sidebar-card h3 {
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--primary-color);
    position: relative;
}

.sidebar-card h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-gradient);
}

/* 热门文章 */
.hot-articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hot-article {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.hot-article:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.hot-rank {
    width: 30px;
    height: 30px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.hot-content h5 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.4;
}

.hot-content h5 a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.hot-content h5 a:hover {
    color: var(--primary-color);
}

.hot-meta {
    color: var(--text-light);
    font-size: 0.8rem;
    margin: 0;
}

.hot-meta i {
    color: var(--primary-color);
    margin-right: 0.3rem;
}

/* 广告位 */
.ad-banner {
    background: var(--card-gradient);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 2px dashed var(--border-color);
}

.ad-banner h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.ad-banner p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.ad-btn {
    background: var(--primary-gradient);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.ad-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(44, 122, 44, 0.3);
    color: white;
}

/* 复制成功提示 */
.copy-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary-gradient);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-toast.show {
    opacity: 1;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .article-title {
        font-size: 1.8rem;
    }

    .article-content {
        padding: 2rem;
    }

    .article-meta {
        gap: 0.8rem;
    }

    .share-buttons {
        gap: 0.8rem;
    }

    .share-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-card {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .article-header {
        padding: 120px 0 60px;
    }

    .article-section {
        padding: 60px 0;
    }

    .article-content {
        padding: 1.5rem;
    }

    .article-title {
        font-size: 1.5rem;
    }

    .sidebar-card {
        padding: 1rem;
    }

    .tag-list {
        gap: 0.5rem;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        justify-content: center;
    }
}