/* 未来主义霓虹风格 */
:root {
    --neon-pink: #ff2a6d;
    --neon-blue: #05d9e8;
    --neon-purple: #d300c5;
    --dark-bg: #0d0221;
    --darker-bg: #02010a;
    --text-primary: #d1f7ff;
    --text-secondary: #a5b3bb;
    --glow: 0 0 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rajdhani', 'Arial Narrow', sans-serif;
}

@font-face {
    font-family: 'Rajdhani';
    src: url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;700&display=swap');
}

body {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255,42,109,0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(5,217,232,0.1) 0%, transparent 20%);
}

a {
    text-decoration: none;
    color: var(--neon-blue);
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(5,217,232,0.3);
}

a:hover {
    color: var(--neon-pink);
    text-shadow: 0 0 10px rgba(255,42,109,0.5);
}

.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
}

/* 不对称头部设计 */
header {
    background-color: rgba(13,2,33,0.8);
    backdrop-filter: blur(8px);
    padding: 25px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--neon-purple);
    clip-path: polygon(0 0, 100% 0, 100% 80%, 85% 100%, 0 100%);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(45deg, var(--neon-pink), var(--neon-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    text-shadow: var(--glow) var(--neon-blue);
    transform: skewX(-10deg);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    font-size: 18px;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 30px;
    transition: all 0.4s ease;
}

nav ul li a:hover {
    background-color: var(--neon-purple);
    color: white;
    box-shadow: 0 0 15px var(--neon-purple);
    transform: translateY(-3px);
}

/* 斜切内容区 */
.main-content {
    background: rgba(2,1,10,0.6);
    border-radius: 0 30px 30px 0;
    padding: 40px;
    margin: 40px 0 40px -50px;
    position: relative;
    border-left: 3px solid var(--neon-pink);
    transform: perspective(1000px) rotateY(-5deg);
    transform-origin: left center;
    transition: transform 0.5s ease;
}

.main-content:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.section-title {
    font-size: 28px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 8px var(--neon-blue);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-pink), transparent);
}

/* 蜂巢式文章网格 */
.article-honeycomb {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.article-cell {
    width: calc(33.333% - 20px);
    min-width: 280px;
    background: rgba(5,217,232,0.05);
    border: 1px solid rgba(5,217,232,0.2);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    padding-bottom: 20px;
}

.article-cell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-purple));
}

.article-cell:hover {
    transform: translateY(-10px) rotateZ(2deg);
    box-shadow: 0 10px 25px rgba(210,0,197,0.3);
    background: rgba(5,217,232,0.1);
}

.article-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    filter: grayscale(30%);
    transition: filter 0.4s ease;
}

.article-cell:hover .article-image {
    filter: grayscale(0%) contrast(110%);
}

.article-info {
    padding: 20px;
}

.article-title {
    font-size: 20px;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 15px;
}

/* 分类标签 */
.category-badge {
    display: inline-block;
    padding: 3px 12px;
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
    color: white;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(0,0,0,0.3);
}

/* 文章详情页 */
.article-detail {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.article-header {
    margin-bottom: 40px;
    text-align: center;
    padding: 30px;
    background: rgba(5,217,232,0.05);
    border-radius: 20px;
    border: 1px solid rgba(5,217,232,0.2);
}

.article-title {
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 0 10px var(--neon-blue);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.article-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(5,217,232,0.3);
    border: 1px solid var(--neon-blue);
}

.article-content {
    line-height: 1.9;
    font-size: 18px;
}

.article-content p {
    margin-bottom: 25px;
    position: relative;
    padding-left: 20px;
}

.article-content p::before {
    content: '◆';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--neon-pink);
    font-size: 12px;
}

/* 分页导航 */
.pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}

.pagination a {
    padding: 12px 25px;
    border-radius: 30px;
    background: rgba(255,42,109,0.1);
    border: 1px solid var(--neon-pink);
    transition: all 0.3s ease;
    font-weight: 600;
}

.pagination a:hover {
    background: var(--neon-pink);
    color: white;
    box-shadow: 0 0 20px var(--neon-pink);
}

/* 友情链接 */
.friend-links {
    background: rgba(210,0,197,0.05);
    border-radius: 20px;
    padding: 30px;
    margin: 50px 0;
    border: 1px solid rgba(210,0,197,0.2);
    clip-path: polygon(0 0, 100% 10%, 100% 100%, 0 90%);
}

.friend-links h3 {
    margin-bottom: 25px;
    font-size: 24px;
    text-align: center;
    text-shadow: 0 0 8px var(--neon-purple);
}

.friend-links-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.friend-links-container a {
    padding: 8px 20px;
    background: rgba(5,217,232,0.1);
    border-radius: 30px;
    font-size: 15px;
    border: 1px solid var(--neon-blue);
    transition: all 0.3s ease;
}

.friend-links-container a:hover {
    background: var(--neon-blue);
    color: var(--dark-bg);
    box-shadow: 0 0 15px var(--neon-blue);
}

/* 科幻风格页脚 */
footer {
    background-color: var(--darker-bg);
    padding: 40px 0;
    text-align: center;
    margin-top: 80px;
    position: relative;
    clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 100%);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-blue), var(--neon-purple));
}

.copyright {
    font-size: 15px;
    letter-spacing: 1px;
    margin-top: 30px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .main-content {
        margin-left: -20px;
        transform: none;
    }
    
    .article-cell {
        width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 25px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .main-content {
        margin-left: 0;
        border-radius: 20px;
        padding: 30px;
    }
    
    .article-cell {
        width: 100%;
    }
    
    .article-title {
        font-size: 30px;
    }
    
    footer {
        clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
    }
}