/* 极简未来主义风格 - 霓虹色调 */
:root {
    --neon-blue: #0ff0fc;
    --neon-pink: #ff00ff;
    --neon-purple: #bc13fe;
    --dark-bg: #0a0a12;
    --light-bg: #1a1a2a;
    --text-primary: #e0e0ff;
    --text-secondary: #a0a0c0;
    --accent-glow: 0 0 10px var(--neon-blue);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rajdhani', 'Arial Narrow', sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.8;
    overflow-x: hidden;
}

/* 独特的斜切边缘设计 */
.container {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4%;
    transform: skewX(-1deg);
}

/* 霓虹文字效果 */
.neon-text {
    text-shadow: 0 0 5px currentColor;
}

/* 头部 - 不对称设计 */
header {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--dark-bg) 100%);
    padding: 2rem 0;
    border-bottom: 1px solid rgba(160, 160, 192, 0.2);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20%;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(188, 19, 254, 0.1));
    transform: skewX(-15deg);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--neon-blue);
    letter-spacing: -1px;
    position: relative;
    z-index: 2;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--neon-blue);
    box-shadow: var(--accent-glow);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.8rem;
}

nav ul li a {
    padding: 0.6rem 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    transition: all 0.3s ease-out;
}

nav ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon-pink);
    transition: width 0.3s;
}

nav ul li a:hover {
    color: var(--neon-pink);
}

nav ul li a:hover::before {
    width: 100%;
}

/* 主要内容区域 - 网格不对称布局 */
.main-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    margin: 4rem 0;
}

.main-content {
    background: rgba(26, 26, 42, 0.6);
    backdrop-filter: blur(8px);
    border-radius: 0 20px 20px 0;
    padding: 3rem;
    border-left: 3px solid var(--neon-purple);
    box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.3);
}

.sidebar {
    background: rgba(26, 26, 42, 0.4);
    backdrop-filter: blur(8px);
    border-radius: 20px 0 0 20px;
    padding: 3rem;
    border-right: 3px solid var(--neon-blue);
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--neon-blue);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-blue), transparent);
}

/* 文章卡片 - 悬浮发光效果 */
.article-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.article-cell {
    background: var(--light-bg);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(160, 160, 192, 0.1);
}

.article-cell:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(15, 240, 252, 0.2);
    border-color: rgba(15, 240, 252, 0.3);
}

.cell-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    filter: grayscale(30%);
    transition: filter 0.3s;
}

.article-cell:hover .cell-image {
    filter: grayscale(0%) contrast(110%);
}

.cell-body {
    padding: 1.5rem;
}

.cell-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.cell-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

/* 分类标签 - 霓虹效果 */
.category-chip {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: rgba(188, 19, 254, 0.1);
    color: var(--neon-purple);
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid var(--neon-purple);
}

/* 文章详情页 - 全宽设计 */
.article-stage {
    margin: 4rem 0;
}

.article-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.article-headline {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    color: var(--neon-blue);
    text-transform: uppercase;
    letter-spacing: -1px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 0 0 20px 20px;
    margin-bottom: 2rem;
    filter: contrast(110%) brightness(90%);
}

.article-script {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.9;
}

/* 分页导航 - 霓虹按钮 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.pagination a {
    padding: 0.8rem 1.8rem;
    border-radius: 30px;
    background: rgba(15, 240, 252, 0.1);
    border: 1px solid var(--neon-blue);
    transition: all 0.3s;
}

.pagination a:hover {
    background: var(--neon-blue);
    color: var(--dark-bg);
    box-shadow: var(--accent-glow);
}

/* 友情链接 - 网格布局 */
.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.link-cell {
    padding: 1rem;
    text-align: center;
    background: rgba(255, 0, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s;
    border: 1px solid rgba(255, 0, 255, 0.1);
}

.link-cell:hover {
    background: rgba(255, 0, 255, 0.2);
    border-color: var(--neon-pink);
    transform: scale(1.05);
}

/* 页脚 - 斜切设计 */
footer {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--dark-bg) 100%);
    padding: 3rem 0;
    margin-top: 5rem;
    position: relative;
    transform: skewY(-1deg);
}

.footer-content {
    transform: skewY(1deg);
    text-align: center;
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
    
    .main-content, .sidebar {
        border-radius: 20px;
        border-left: none;
        border-right: none;
        border-top: 3px solid var(--neon-purple);
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .article-headline {
        font-size: 2rem;
    }
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-blue);
    border-radius: 4px;
}

/* 光标轨迹效果 */
body {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><circle cx="8" cy="8" r="6" fill="none" stroke="%230ff0fc" stroke-width="2"/></svg>'), auto;
}