/* 羽翼风格全局样式 */
:root {
    --primary-color: #88c9f9;
    --secondary-color: #c1e4ff;
    --accent-color: #5d9cec;
    --light-color: #ffffff;
    --text-color: #4a5568;
    --border-color: #e2e8f0;
    --shadow-light: 0 2px 15px rgba(142, 178, 231, 0.15);
    --shadow-medium: 0 5px 20px rgba(142, 178, 231, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

body {
    background-color: var(--light-color);
    color: var(--text-color);
    line-height: 1.7;
    background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path fill="%23e2f0ff" d="M30,20 Q50,10 70,20 T90,40 Q80,50 70,40 T50,50 Q40,40 30,50 T10,40 Q20,30 30,20" opacity="0.3"/></svg>');
    background-size: 200px;
    background-attachment: fixed;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

a:hover {
    color: #3a80d6;
    text-decoration: underline;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 羽翼风格头部 */
header {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-light);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(5px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 28px;
    font-weight: 300;
    color: var(--accent-color);
    letter-spacing: 2px;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav ul li a {
    padding: 8px 0;
    font-weight: 400;
    position: relative;
}

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%;
}

/* 主要内容区域 - 羽翼卡片 */
.main-content {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(225, 238, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.main-content::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    opacity: 0.3;
    z-index: -1;
}

.section-title {
    font-size: 24px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    color: var(--accent-color);
    font-weight: 300;
    letter-spacing: 1px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, var(--accent-color), transparent);
}

/* 羽翼风格文章列表 */
.feather-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.feather-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    position: relative;
}

.feather-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feather-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 400;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #718096;
    margin-top: 15px;
}

/* 分类标签 - 羽毛形状 */
.feather-tag {
    display: inline-block;
    padding: 3px 12px;
    background-color: var(--secondary-color);
    color: #4a6fa8;
    border-radius: 15px;
    font-size: 12px;
    margin-bottom: 10px;
    position: relative;
}

.feather-tag::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid var(--secondary-color);
}

/* 文章详情页 - 羽翼风格 */
.feather-article {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.article-title {
    font-size: 32px;
    margin-bottom: 20px;
    line-height: 1.4;
    color: #2d3748;
    font-weight: 300;
    letter-spacing: 1px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #718096;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.article-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
}

.article-content {
    line-height: 1.9;
    font-size: 16px;
    color: #4a5568;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px auto;
    display: block;
    box-shadow: var(--shadow-light);
}

/* 羽翼分页导航 */
.feather-pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.feather-pagination a {
    padding: 8px 18px;
    border-radius: 20px;
    background-color: var(--light-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    font-size: 14px;
}

.feather-pagination a:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    text-decoration: none;
}

/* 友情链接 - 云朵样式 */
.cloud-links {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.cloud-links::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    opacity: 0.3;
    z-index: -1;
}

.cloud-links h3 {
    margin-bottom: 20px;
    color: var(--accent-color);
    font-size: 20px;
    font-weight: 300;
}

.cloud-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cloud-links-container a {
    padding: 8px 15px;
    background-color: var(--secondary-color);
    border-radius: 20px;
    font-size: 14px;
    color: #4a6fa8;
    transition: all 0.3s;
    border: 1px solid rgba(136, 201, 249, 0.3);
}

.cloud-links-container a:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

/* 页脚样式 - 羽毛渐变 */
footer {
    background: linear-gradient(to right, rgba(255,255,255,0.9), rgba(225, 238, 255, 0.9));
    padding: 30px 0;
    text-align: center;
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

.copyright {
    font-size: 14px;
    color: #718096;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .feather-grid {
        grid-template-columns: 1fr;
    }
    
    .article-title {
        font-size: 26px;
    }
    
    .article-meta {
        gap: 10px;
    }
}