/* 未来科技风主题样式 */
:root {
    --primary-color: #00ff9d;
    --secondary-color: #00b8ff;
    --accent-color: #ff00ff;
    --dark-bg: #0a0a0f;
    --darker-bg: #05050a;
    --card-bg: rgba(16, 16, 26, 0.8);
    --text-color: #ffffff;
    --text-secondary: #8a8aa3;
    --border-color: rgba(0, 255, 157, 0.3);
    --shadow-glow: 0 0 20px rgba(0, 255, 157, 0.3);
    --shadow-glow-blue: 0 0 20px rgba(0, 184, 255, 0.3);
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.cyber-theme {
    font-family: 'Exo 2', sans-serif;
    background: var(--dark-bg);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* 粒子画布 */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* 赛博导航 */
.cyber-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    box-shadow: var(--shadow-glow);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 霓虹故障效果文字 */
.glitch-text {
    position: relative;
    color: var(--primary-color);
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
                    -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
                    -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }
    14% {
        text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
                    -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
                    -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
    }
    15% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
                    0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
                    -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    49% {
        text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
                    0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
                    -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    50% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
                    0.05em 0 0 rgba(0, 255, 0, 0.75),
                    0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    99% {
        text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
                    0.05em 0 0 rgba(0, 255, 0, 0.75),
                    0 -0.05em 0 rgba(0, 0, 255, 0.75);
    }
    100% {
        text-shadow: -0.025em 0 0 rgba(255, 0, 0, 0.75),
                    -0.025em -0.025em 0 rgba(0, 255, 0, 0.75),
                    -0.025em -0.05em 0 rgba(0, 0, 255, 0.75);
    }
}

/* 全息菜单 */
.nav-hologram {
    display: flex;
    align-items: center;
}

.hologram-menu {
    display: flex;
    gap: 2rem;
    background: rgba(16, 16, 26, 0.8);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-glow);
}

.nav-link {
    position: relative;
    color: var(--text-color);
    text-decoration: none;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.nav-link i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.nav-link span {
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.nav-link::before {
    content: attr(data-hover);
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--dark-bg);
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.7rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

.nav-terminal {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
}

.nav-terminal:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px var(--primary-color);
}

/* 状态指示器 */
.cyber-status {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Orbitron', monospace;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.time-display {
    color: var(--secondary-color);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* 全息主容器 */
.hologram-container {
    max-width: 1400px;
    margin: 100px auto 0;
    padding: 2rem;
}

/* 身份验证面板 */
.auth-panel {
    margin-bottom: 4rem;
}

.hologram-card {
    position: relative;
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    padding: 3rem;
    box-shadow: var(--shadow-glow);
    overflow: hidden;
}

.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 157, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 157, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.card-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* 全息头像 */
.avatar-hologram {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.hologram-avatar {
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 30px var(--primary-color);
}

.hologram-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hologram-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 255, 157, 0.3) 50%, transparent 70%);
    animation: hologram-scan 3s linear infinite;
}

@keyframes hologram-scan {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

.verification-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--dark-bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-glow);
}

/* 标题样式 */
.cyber-title {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cyber-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* 身份数据 */
.identity-data {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.data-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.data-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.data-value {
    font-family: 'Orbitron', monospace;
    font-weight: bold;
    padding: 0.25rem 0.75rem;
    border-radius: 5px;
}

.data-value.active {
    background: rgba(0, 255, 157, 0.2);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.data-value.master {
    background: rgba(255, 0, 255, 0.2);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.data-value.max {
    background: rgba(0, 184, 255, 0.2);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

/* 赛博按钮 */
.cyber-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.cyber-btn {
    position: relative;
    padding: 1rem 2rem;
    border: none;
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.cyber-btn.primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--dark-bg);
}

.cyber-btn.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cyber-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cyber-btn:hover::before {
    left: 100%;
}

.cyber-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* 扫描线效果 */
.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% {
        top: 0;
    }
    100% {
        top: 100%;
    }
}

/* 章节样式 */
.cyber-section {
    margin-bottom: 6rem;
    position: relative;
}

.section-header {
    margin-bottom: 3rem;
    position: relative;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.title-number {
    color: var(--primary-color);
    font-size: 2.5rem;
    opacity: 0.5;
}

.title-text {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-line {
    height: 2px;
    width: 100px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

/* 生物网格 */
.bio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.bio-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.bio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.bio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.card-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.bio-card h4 {
    font-family: 'Orbitron', monospace;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.bio-info p {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.bio-info strong {
    color: var(--text-color);
}

/* 技能标签 */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.skill-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.skill-tag.quantum {
    background: rgba(0, 255, 157, 0.2);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.skill-tag.ai {
    background: rgba(0, 184, 255, 0.2);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.skill-tag.blockchain {
    background: rgba(255, 0, 255, 0.2);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.skill-tag.web3 {
    background: rgba(255, 184, 0, 0.2);
    color: #ffb800;
    border: 1px solid #ffb800;
}

.skill-tag.cyber {
    background: rgba(255, 50, 50, 0.2);
    color: #ff3232;
    border: 1px solid #ff3232;
}

.skill-tag.data {
    background: rgba(100, 100, 255, 0.2);
    color: #6464ff;
    border: 1px solid #6464ff;
}

/* 全息引用 */
.hologram-quote {
    background: var(--card-bg);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    border-radius: 0 15px 15px 0;
    position: relative;
    overflow: hidden;
}

.hologram-quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 255, 157, 0.1) 50%, transparent 70%);
    animation: hologram-scan 4s linear infinite;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.quote-text {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.quote-author {
    text-align: right;
    color: var(--primary-color);
    font-weight: 600;
}

/* 技能矩阵 */
.skill-matrix {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.matrix-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.skill-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.skill-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.skill-header h4 {
    font-family: 'Orbitron', monospace;
    color: var(--text-color);
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0;
    transition: width 1s ease;
}

.skill-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.skill-visualization {
    display: flex;
    align-items: center;
    justify-content: center;
}

.radar-chart {
    width: 250px;
    height: 250px;
}

/* 作品集网格 */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow-blue);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.project-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.project-tag.quantum {
    background: rgba(0, 255, 157, 0.2);
    color: var(--primary-color);
}

.project-tag.blockchain {
    background: rgba(255, 0, 255, 0.2);
    color: var(--accent-color);
}

.project-tag.ai {
    background: rgba(0, 184, 255, 0.2);
    color: var(--secondary-color);
}

.project-tag.cyber {
    background: rgba(255, 50, 50, 0.2);
    color: #ff3232;
}

.project-status {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    background: rgba(0, 255, 157, 0.2);
    color: var(--primary-color);
}

.project-status.dev {
    background: rgba(255, 184, 0, 0.2);
    color: #ffb800;
}

.project-card h4 {
    font-family: 'Orbitron', monospace;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.project-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.project-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.stat i {
    color: var(--primary-color);
}

/* AI终端 */
.ai-terminal {
    background: var(--darker-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    margin-top: 2rem;
    box-shadow: var(--shadow-glow);
}

.terminal-header {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Orbitron', monospace;
    color: var(--dark-bg);
    font-weight: 700;
}

.terminal-controls {
    display: flex;
    gap: 0.5rem;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-dot.red {
    background: #ff5f56;
}

.control-dot.yellow {
    background: #ffbd2e;
}

.control-dot.green {
    background: #27c93f;
}

.terminal-body {
    padding: 1.5rem;
    background: var(--dark-bg);
}

.output-screen {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 1rem;
    min-height: 200px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.output-line {
    margin-bottom: 0.5rem;
    padding-left: 2rem;
    position: relative;
}

.output-line.system {
    color: var(--text-secondary);
}

.output-line.ai {
    color: var(--primary-color);
}

.prompt {
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.input-area {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.input-prompt {
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

#ai-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-color);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    outline: none;
}

#send-command {
    background: var(--primary-color);
    color: var(--dark-bg);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

#send-command:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

.quick-commands {
    display: flex;
    gap: 0.5rem;
}

.quick-command {
    background: rgba(0, 255, 157, 0.1);
    color: var(--primary-color);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.quick-command:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
}

/* AI统计 */
.ai-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.stat-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.stat-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-info h4 {
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-color);
}

/* 联系方式 */
.contact-section {
    margin-top: 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 255, 157, 0.1) 50%, transparent 70%);
    animation: hologram-scan 3s linear infinite;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.contact-icon.email {
    background: rgba(0, 255, 157, 0.2);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.contact-icon.github {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.contact-icon.linkedin {
    background: rgba(0, 119, 181, 0.2);
    color: #0077b5;
    border: 2px solid #0077b5;
}

.contact-icon.twitter {
    background: rgba(29, 161, 242, 0.2);
    color: #1da1f2;
    border: 2px solid #1da1f2;
}

.contact-card h4 {
    font-family: 'Orbitron', monospace;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.contact-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
}

/* 联系终端 */
.contact-terminal {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    font-family: 'Courier New', monospace;
}

.terminal-line {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.terminal-line.highlight {
    color: var(--primary-color);
    font-weight: bold;
}

/* 赛博页脚 */
.cyber-footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-color);
    padding: 3rem 2rem 1rem;
    position: relative;
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-family: 'Orbitron', monospace;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.status-online {
    color: var(--primary-color);
    font-weight: bold;
}

.master-commands {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.cyber-btn.small {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.footer-copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* 加载动画 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-container {
    text-align: center;
}

.loading-logo {
    position: relative;
}

.loading-text {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.loading-progress {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto 1rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    width: 0;
    animation: loading 3s ease-in-out infinite;
}

@keyframes loading {
    0%, 100% {
        width: 0;
    }
    50% {
        width: 100%;
    }
}

.loading-status {
    color: var(--text-secondary);
    font-family: 'Orbitron', monospace;
    font-size: 0.9rem;
    letter-spacing: 2px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .skill-matrix {
        grid-template-columns: 1fr;
    }
    
    .matrix-grid {
        order: 2;
    }
    
    .skill-visualization {
        order: 1;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .hologram-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .nav-link {
        padding: 0.25rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .cyber-status {
        order: -1;
        width: 100%;
        justify-content: center;
    }
    
    .hologram-container {
        padding: 1rem;
        margin-top: 140px;
    }
    
    .cyber-title {
        font-size: 2rem;
    }
    
    .identity-data {
        flex-direction: column;
        gap: 1rem;
    }
    
    .matrix-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-copyright {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .cyber-title {
        font-size: 1.5rem;
    }
    
    .cyber-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .bio-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}