/* 抽象艺术风格极简白主题 */
:root {
    --primary-color: #333333;
    --secondary-color: #777777;
    --accent-color: #ff4d4d;
    --bg-color: #ffffff;
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --border-radius: 0;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    --abstract-shape: polygon(
        0 10%, 10% 0, 90% 0, 100% 10%, 
        100% 90%, 90% 100%, 10% 100%, 0% 90%, 
        0% 10%
    );
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

a:hover {
    color: var(--accent-color);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* 抽象艺术风格头部 */
header {
    background-color: var(--bg-color);
    padding: 40px 0;
    position: relative;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    position: relative;
    padding-left: 15px;
}

.logo::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 80%;
    background-color: var(--accent-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    padding: 5px 0;
    position: relative;
    font-weight: 500;
    letter-spacing: 1px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* 抽象形状装饰元素 */
.abstract-shape {
    position: absolute;
    width: 300px;
    height: 300px;
    background-color: var(--light-gray);
    clip-path: var(--abstract-shape);
    z-index: -1;
    opacity: 0.6;
}

.shape-1 {
    top: -150px;
    right: -100px;
    transform: rotate(15deg);
}

.shape-2 {
    bottom: -100px;
    left: -50px;
    transform: rotate(-10deg);
}

/* 主要内容区域 - 非对称布局 */
.main-content {
    padding: 60px 40px;
    margin: 50px 0;
    position: relative;
    overflow: hidden;
}

.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--primary-color);
    clip-path: var(--abstract-shape);
    pointer-events: none;
    z-index: -1;
}

.section-title {
    font-size: 32px;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    font-weight: 300;
    letter-spacing: 2px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 2px;
    background-color: var(--accent-color);
}

/* 抽象艺术网格布局 */
.abstract-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    position: relative;
}

.grid-item {
    position: relative;
    transition: transform 0.5s ease;
}

.grid-item:hover {
    transform: translateY(-10px);
}

.grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--primary-color);
    clip-path: var(--abstract-shape);
    pointer-events: none;
    z-index: -1;
}

.abstract-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    clip-path: var(--abstract-shape);
    margin-bottom: 20px;
}

.abstract-info {
    padding: 0 15px;
}

.abstract-title {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.4;
}

.abstract-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--secondary-color);
    margin-top: 20px;
    letter-spacing: 0.5px;
}

/* 分类标签 */
.category-tag {
    display: inline-block;
    padding: 3px 12px;
    background-color: var(--light-gray);
    color: var(--primary-color);
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 15px;
    clip-path: var(--abstract-shape);
}

/* 文章详情页 - 艺术化布局 */
.article-detail {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.article-header {
    margin-bottom: 60px;
    text-align: center;
    position: relative;
}

.article-title {
    font-size: 42px;
    margin-bottom: 30px;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: 2px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: var(--secondary-color);
    margin-bottom: 40px;
    flex-wrap: wrap;
    font-size: 14px;
    letter-spacing: 1px;
}

.article-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    clip-path: var(--abstract-shape);
    margin-bottom: 50px;
}

.article-content {
    line-height: 2;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.article-content p {
    margin-bottom: 30px;
}

/* 分页导航 - 抽象风格 */
.pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    position: relative;
}

.pagination a {
    padding: 12px 25px;
    background-color: var(--light-gray);
    color: var(--primary-color);
    font-size: 14px;
    letter-spacing: 1px;
    clip-path: var(--abstract-shape);
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: var(--accent-color);
    color: white;
}

/* 友情链接 - 艺术化设计 */
.friend-links {
    margin: 80px 0;
    position: relative;
}

.friend-links h3 {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 2px;
}

.friend-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.friend-links-container a {
    padding: 8px 20px;
    background-color: var(--light-gray);
    color: var(--primary-color);
    font-size: 14px;
    letter-spacing: 1px;
    clip-path: var(--abstract-shape);
    transition: all 0.3s ease;
}

.friend-links-container a:hover {
    background-color: var(--primary-color);
    color: white;
}

/* 页脚 - 抽象形状设计 */
footer {
    background-color: var(--light-gray);
    padding: 60px 0;
    text-align: center;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--light-gray);
    transform: skewY(-3deg);
}

.copyright {
    font-size: 14px;
    color: var(--secondary-color);
    letter-spacing: 1px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        gap: 30px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .abstract-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .article-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .main-content {
        padding: 40px 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .abstract-grid {
        grid-template-columns: 1fr;
    }
    
    .article-meta {
        gap: 15px;
    }
    
    .pagination {
        flex-direction: column;
        gap: 15px;
    }
}