/* 未来主义极简风格 */
:root {
    --neon-blue: #0ff0fc;
    --neon-pink: #ff2ced;
    --dark-bg: #0a0a12;
    --card-bg: rgba(15, 15, 25, 0.7);
    --text-primary: #e0e0ff;
    --text-secondary: #a0a0c0;
    --accent: #45f0ff;
    --glow: 0 0 15px rgba(0, 255, 255, 0.7);
}

* {
    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);
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 44, 237, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 252, 0.1) 0%, transparent 30%);
}

/* 创新斜切头部 */
header {
    background: linear-gradient(145deg, rgba(10,10,20,0.9) 0%, rgba(30,30,50,0.9) 100%);
    padding: 30px 0;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
    margin-bottom: -5vw;
    position: relative;
    z-index: 100;
    border-bottom: 1px solid var(--neon-blue);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: var(--glow);
    transform: skewX(-15deg);
    display: inline-block;
}

/* 3D导航按钮 */
.nav-3d {
    display: flex;
    gap: 25px;
}

.nav-3d li {
    list-style: none;
    perspective: 500px;
}

.nav-3d a {
    color: var(--text-primary);
    padding: 12px 24px;
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.4s;
    display: block;
    border: 1px solid var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 255, 252, 0.3);
}

.nav-3d a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-pink));
    transform: translateZ(-1px);
    opacity: 0;
    transition: opacity 0.4s;
}

.nav-3d a:hover {
    transform: translateY(-5px) rotateX(20deg);
    color: white;
    box-shadow: 0 10px 20px rgba(0, 255, 252, 0.5);
}

.nav-3d a:hover::before {
    opacity: 1;
}

/* 流体网格容器 */
.fluid-container {
    width: 94%;
    margin: 6vw auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    transform: rotate(-1deg);
}

/* 全息投影卡片 */
.holo-card {
    background: var(--card-bg);
    border-radius: 0;
    border-top: 1px solid rgba(0, 255, 252, 0.3);
    border-left: 1px solid rgba(0, 255, 252, 0.3);
    backdrop-filter: blur(10px);
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.holo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(0, 255, 252, 0.1) 50%,
        transparent 100%
    );
    transform: rotate(45deg);
    transition: all 0.6s;
    opacity: 0;
}

.holo-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.holo-card:hover::before {
    animation: holoGlow 3s linear infinite;
    opacity: 1;
}

@keyframes holoGlow {
    0% { transform: rotate(45deg) translateX(-100%); }
    100% { transform: rotate(45deg) translateX(100%); }
}

/* 斜切标题 */
.skew-section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    transform: skewX(-15deg);
    padding: 0 20px;
}

.skew-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-pink));
    transform: skewX(15deg);
}

/* 文章图片的菱形裁剪 */
.diamond-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    margin-bottom: 30px;
    transition: all 0.5s;
    filter: grayscale(30%);
}

.holo-card:hover .diamond-image {
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 25% 100%);
    filter: grayscale(0%);
}

/* 创新分页 */
.pagination-future {
    display: flex;
    justify-content: center;
    margin-top: 60px;
    transform: rotate(2deg);
}

.pagination-future a {
    color: var(--text-primary);
    padding: 12px 24px;
    margin: 0 10px;
    text-decoration: none;
    position: relative;
    border: 1px solid var(--neon-blue);
    transition: all 0.4s;
}

.pagination-future a::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border: 1px solid var(--neon-pink);
    opacity: 0;
    transition: all 0.4s;
}

.pagination-future a:hover {
    background: rgba(0, 255, 252, 0.1);
    transform: translateY(-5px);
}

.pagination-future a:hover::before {
    opacity: 1;
}

/* 文章详情页特殊样式 */
.article-hologram {
    max-width: 900px;
    margin: 5vw auto;
    padding: 50px;
    background: var(--card-bg);
    border: 1px solid rgba(0, 255, 252, 0.3);
    position: relative;
}

.article-hologram::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 255, 252, 0.05) 0%,
        rgba(255, 44, 237, 0.05) 100%
    );
    pointer-events: none;
}

.article-header-future {
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.article-header-future::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 25%;
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-blue), transparent);
}

.article-title-future {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
    background: linear-gradient(45deg, var(--neon-blue), var(--text-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .header-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .nav-3d {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .fluid-container {
        grid-template-columns: 1fr;
        transform: rotate(0deg);
    }
    
    .article-title-future {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    header {
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    }
    
    .holo-card {
        min-height: auto;
    }
    
    .nav-3d a {
        padding: 8px 16px;
    }
}