/* 原创SEO网站样式 */

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #f5f7fa;
    color: #1a1a2e;
    line-height: 1.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部 */
.site-header {
    background: #1a1a2e;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header .logo a {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
}

.site-header .main-nav a {
    color: #a0aec0;
    text-decoration: none;
    margin-left: 25px;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.site-header .main-nav a:hover {
    color: #4fc3f7;
}

/* 主内容区 */
.main-content {
    min-height: calc(100vh - 150px);
    padding: 30px 0;
}

/* 文章样式 */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.article-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.article-header h1 {
    font-size: 2rem;
    color: #1a1a2e;
    line-height: 1.3;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    gap: 20px;
    color: #718096;
    font-size: 0.9rem;
}

/* 评分框 */
.rating-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
}

.rating-score {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
}

.rating-stars {
    font-size: 1.5rem;
    margin: 10px 0;
    color: #ffd700;
}

.rating-count {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* 价格框 */
.price-box {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
}

.price-box h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.price-original {
    font-size: 1.1rem;
    opacity: 0.7;
    margin-bottom: 5px;
}

.price-sale {
    font-size: 2rem;
    font-weight: 700;
}

.price-sale .discount {
    font-size: 1rem;
    background: rgba(255,255,255,0.2);
    padding: 3px 10px;
    border-radius: 15px;
    margin-left: 10px;
}

.price-note {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 10px;
}

/* 文章正文 */
.article-body {
    color: #2d3748;
    font-size: 1rem;
    line-height: 1.8;
}

.article-body h2 {
    font-size: 1.5rem;
    color: #1a1a2e;
    margin: 35px 0 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.article-body h3 {
    font-size: 1.2rem;
    color: #2d3748;
    margin: 25px 0 10px;
}

.article-body p {
    margin: 15px 0;
}

.article-body ul, .article-body ol {
    margin: 15px 0 15px 25px;
}

.article-body li {
    margin: 8px 0;
}

.article-body strong {
    color: #1a1a2e;
}

.article-body code {
    background: #f7fafc;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.9em;
}

/* 购买按钮 */
.buy-section {
    text-align: center;
    margin: 40px 0;
    padding: 30px;
    background: #f7fafc;
    border-radius: 12px;
}

.buy-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
}

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.affiliate-notice {
    font-size: 0.8rem;
    color: #718096;
    margin-top: 15px;
}

/* 评论区 */
.reviews-section {
    margin: 40px 0;
    padding: 25px;
    background: #f7fafc;
    border-radius: 12px;
}

.reviews-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #1a1a2e;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.reviewer {
    font-weight: 600;
    color: #1a1a2e;
}

.badge {
    background: #48bb78;
    color: white;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
}

.review-header .rating {
    color: #ffd700;
}

.review-date {
    font-size: 0.8rem;
    color: #a0aec0;
    margin-bottom: 10px;
}

.review-text {
    color: #4a5568;
    font-size: 0.95rem;
}

/* 相关文章 */
.related-section {
    margin: 40px 0;
    padding: 25px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.related-section h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.related-section ul {
    list-style: none;
}

.related-section li {
    padding: 12px 0;
    border-bottom: 1px solid #f7fafc;
}

.related-section li:last-child {
    border: none;
}

.related-section a {
    color: #4299e1;
    text-decoration: none;
}

.related-section a:hover {
    color: #2b6cb0;
    text-decoration: underline;
}

/* 页脚 */
.site-footer {
    background: #1a1a2e;
    color: #a0aec0;
    padding: 40px 20px;
    text-align: center;
}

.site-footer a {
    color: #4fc3f7;
    text-decoration: none;
    margin: 0 10px;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* 响应式 */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .site-header .main-nav a {
        margin: 0 10px;
    }
    
    .article-content {
        padding: 20px;
    }
    
    .article-header h1 {
        font-size: 1.5rem;
    }
    
    .article-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .rating-score {
        font-size: 2.5rem;
    }
    
    .price-sale {
        font-size: 1.5rem;
    }
    
    .buy-button {
        padding: 15px 35px;
        font-size: 1rem;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #c4c4c4;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a0a0a0;
}
