/* 主页容器
-------------------------------------------------- */
.home-container {
    position: relative;
    z-index: 1;
}

/* 英雄区块样式
-------------------------------------------------- */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 4rem 2rem;
    overflow: hidden;
}

/* 英雄区块内容 */
.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title-container {
    margin-bottom: 3rem;
}

/* 赛博朋克风格标题故障效果 */
.cyber-glitch-text {
    font-size: 5rem;
    font-weight: 900;
    color: var(--neon-blue);
    text-transform: uppercase;
    position: relative;
    text-shadow: 0 0 10px var(--neon-blue);
    animation: textShadow 2s infinite;
}

.cyber-glitch-text::before,
.cyber-glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cyber-glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 var(--neon-purple);
    animation: glitch-1 2s infinite linear alternate-reverse;
}

.cyber-glitch-text::after {
    left: -2px;
    text-shadow: 2px 0 var(--neon-blue);
    animation: glitch-2 2s infinite linear alternate-reverse;
}

/* 副标题 */
.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin: 1.5rem 0;
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.3);
}

/* 赛博朋克风格按钮
-------------------------------------------------- */
.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 3rem;
}

.cyber-btn {
    position: relative;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    color: var(--text-primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    overflow: hidden;
    transition: 0.5s;
    -webkit-box-reflect: below 1px linear-gradient(transparent, #0005);
}

.cyber-btn:hover {
    background: var(--neon-blue);
    color: var(--primary-dark);
    box-shadow: 0 0 5px var(--neon-blue),
                0 0 25px var(--neon-blue),
                0 0 50px var(--neon-blue),
                0 0 200px var(--neon-blue);
}

.cyber-btn span {
    position: absolute;
    display: block;
}

.cyber-btn span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-blue));
    animation: btn-anim1 1s linear infinite;
}

.cyber-btn span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--neon-blue));
    animation: btn-anim2 1s linear infinite;
    animation-delay: 0.25s;
}

.cyber-btn span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, var(--neon-blue));
    animation: btn-anim3 1s linear infinite;
    animation-delay: 0.5s;
}

.cyber-btn span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, var(--neon-blue));
    animation: btn-anim4 1s linear infinite;
    animation-delay: 0.75s;
}

/* 特色功能区样式
-------------------------------------------------- */
.features-section {
    padding: 6rem 0;
    background: rgba(10, 17, 40, 0.5);
}

.cyber-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

/* 特色卡片样式 */
.feature-card {
    background: rgba(17, 34, 64, 0.6);
    border: 1px solid rgba(0, 243, 255, 0.1);
    padding: 2rem;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--neon-blue);
    margin-bottom: 1.5rem;
}

.feature-content h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 新闻公告区样式
-------------------------------------------------- */
.news-section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

/* 新闻卡片样式 */
.news-card {
    background: rgba(17, 34, 64, 0.6);
    border: 1px solid rgba(0, 243, 255, 0.1);
    padding: 2rem;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.news-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.news-tag {
    background: rgba(0, 243, 255, 0.1);
    color: var(--neon-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 2px;
    font-size: 0.8rem;
}

.news-title {
    color: var(--text-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.news-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* 统计区样式
-------------------------------------------------- */
.stats-section {
    padding: 4rem 0;
    background: rgba(10, 17, 40, 0.5);
}

.stat-card {
    background: rgba(17, 34, 64, 0.6);
    border: 1px solid rgba(0, 243, 255, 0.1);
    padding: 2rem;
    border-radius: 4px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-icon {
    font-size: 2rem;
    color: var(--neon-blue);
    margin-bottom: 1rem;
}

.stat-content h4 {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    color: var(--neon-blue);
    font-size: 2rem;
    font-weight: bold;
}

.stat-status {
    color: var(--neon-blue);
    font-size: 1.5rem;
    font-weight: bold;
}

/* 故障动画效果
-------------------------------------------------- */
@keyframes glitch-1 {
    0% { clip-path: inset(20% 0 30% 0); }
    20% { clip-path: inset(60% 0 10% 0); }
    40% { clip-path: inset(40% 0 50% 0); }
    60% { clip-path: inset(80% 0 5% 0); }
    80% { clip-path: inset(10% 0 70% 0); }
    100% { clip-path: inset(30% 0 20% 0); }
}

@keyframes glitch-2 {
    0% { clip-path: inset(30% 0 20% 0); }
    20% { clip-path: inset(10% 0 70% 0); }
    40% { clip-path: inset(80% 0 5% 0); }
    60% { clip-path: inset(40% 0 50% 0); }
    80% { clip-path: inset(60% 0 10% 0); }
    100% { clip-path: inset(20% 0 30% 0); }
}

@keyframes btn-anim1 {
    0% { left: -100%; }
    50%,100% { left: 100%; }
}

@keyframes btn-anim2 {
    0% { top: -100%; }
    50%,100% { top: 100%; }
}

@keyframes btn-anim3 {
    0% { right: -100%; }
    50%,100% { right: 100%; }
}

@keyframes btn-anim4 {
    0% { bottom: -100%; }
    50%,100% { bottom: 100%; }
}

/* 响应式调整
-------------------------------------------------- */
@media (max-width: 768px) {
    .cyber-glitch-text {
        font-size: 3rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cyber-grid {
        grid-template-columns: 1fr;
    }
} 