/* 抽象艺术风格 - 樱花粉主题 */
:root {
    --sakura-pink: #ff9a9e;
    --sakura-light: #fad0c4;
    --sakura-gradient: linear-gradient(to right, #ff9a9e 0%, #fad0c4 100%);
    --abstract-purple: #c9a0dc;
    --abstract-blue: #a2c8ed;
    --text-dark: #4a4a4a;
    --text-light: #ffffff;
    --art-bg: repeating-linear-gradient(
        45deg,
        rgba(255, 154, 158, 0.1),
        rgba(255, 154, 158, 0.1) 10px,
        rgba(250, 208, 196, 0.1) 10px,
        rgba(250, 208, 196, 0.1) 20px
    );
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, 'Hiragino Sans GB', sans-serif;
}

body {
    background-color: #fff5f7;
    background-image: var(--art-bg);
    color: var(--text-dark);
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--sakura-pink);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

a:hover {
    color: var(--abstract-purple);
    transform: scale(1.05);
}

.container {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 抽象艺术头部 */
header {
    background: rgba(255, 255, 255, 0.9);
    padding: 25px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
    border-bottom: 2px dashed var(--sakura-pink);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 32px;
    font-weight: 800;
    background: var(--sakura-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li a {
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    background: rgba(255, 154, 158, 0.1);
    border: 2px solid var(--sakura-pink);
}

nav ul li a:hover {
    background: var(--sakura-gradient);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 154, 158, 0.3);
}

/* 抽象艺术内容区 */
.main-content {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 8px 32px rgba(255, 154, 158, 0.2);
    border: 1px solid rgba(255, 154, 158, 0.3);
    position: relative;
    overflow: hidden;
}

.main-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,154,158,0.05) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
}

.section-title {
    font-size: 28px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
    color: var(--sakura-pink);
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--sakura-gradient);
    border-radius: 2px;
}

/* 抽象艺术网格布局 */
.art-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.art-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.5s ease;
    box-shadow: 0 5px 15px rgba(255, 154, 158, 0.1);
    position: relative;
    z-index: 1;
}

.art-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,154,158,0.1) 0%, rgba(201,160,220,0.1) 100%);
    z-index: -1;
}

.art-card:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 15px 30px rgba(255, 154, 158, 0.3);
}

.art-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--sakura-light);
}

.art-body {
    padding: 25px;
}

.art-title {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.art-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--sakura-pink);
    margin-top: 20px;
}

.art-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 分类标签 */
.category-badge {
    display: inline-block;
    padding: 5px 15px;
    background: var(--sakura-gradient);
    color: white;
    border-radius: 50px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 文章详情页 */
.art-detail {
    max-width: 900px;
    margin: 0 auto;
}

.art-header {
    margin-bottom: 50px;
    text-align: center;
}

.art-detail-title {
    font-size: 36px;
    margin-bottom: 25px;
    color: var(--sakura-pink);
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.art-detail-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    color: var(--abstract-purple);
    margin-bottom: 30px;
    font-weight: 500;
}

.art-detail-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 40px;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(255, 154, 158, 0.3);
}

.art-content {
    line-height: 2;
    font-size: 18px;
}

.art-content p {
    margin-bottom: 25px;
    text-align: justify;
}

.art-content img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin: 30px auto;
    display: block;
    border: 3px solid var(--sakura-light);
    box-shadow: 0 5px 15px rgba(255, 154, 158, 0.2);
}

/* 分页导航 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.pagination a {
    padding: 12px 25px;
    border-radius: 50px;
    background: rgba(255, 154, 158, 0.1);
    border: 2px solid var(--sakura-pink);
    font-weight: 600;
    transition: all 0.4s ease;
}

.pagination a:hover {
    background: var(--sakura-gradient);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 154, 158, 0.3);
}

/* 抽象艺术友情链接 */
.friend-links {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    box-shadow: 0 8px 32px rgba(255, 154, 158, 0.2);
    border: 1px solid rgba(255, 154, 158, 0.3);
}

.friend-links h3 {
    margin-bottom: 25px;
    color: var(--sakura-pink);
    font-size: 24px;
    text-align: center;
}

.friend-links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.friend-links-container a {
    padding: 10px 25px;
    border-radius: 50px;
    background: rgba(255, 154, 158, 0.1);
    border: 2px dashed var(--sakura-pink);
    font-size: 16px;
    transition: all 0.4s ease;
}

.friend-links-container a:hover {
    background: var(--sakura-gradient);
    color: white;
    transform: scale(1.1);
    border-style: solid;
    box-shadow: 0 5px 15px rgba(255, 154, 158, 0.3);
}

/* 抽象艺术页脚 */
footer {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px 0;
    text-align: center;
    margin-top: 60px;
    border-top: 2px dashed var(--sakura-pink);
    backdrop-filter: blur(8px);
}

.copyright {
    font-size: 16px;
    color: var(--sakura-pink);
    font-weight: 500;
}

/* 抽象艺术装饰元素 */
.decor-circle {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,154,158,0.1) 0%, rgba(255,255,255,0) 70%);
    z-index: -1;
}

.decor-circle:nth-child(1) {
    top: -100px;
    right: -100px;
}

.decor-circle:nth-child(2) {
    bottom: -150px;
    left: -150px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        gap: 25px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .art-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .art-detail-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .art-grid {
        grid-template-columns: 1fr;
    }
    
    .art-detail-meta {
        gap: 15px;
    }
    
    .pagination {
        flex-direction: column;
        align-items: center;
    }
}