/* ===== 全局样式 ===== */
:root {
    --bg-color: #0a0a0a;
    --bg-secondary: #111;
    --text-color: #e0e0e0;
    --text-muted: #666;
    --accent: #fff;
    --border-color: #222;
    --font-main: 'Space Grotesk', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

/* ===== 背景网格 ===== */
.grid-bg {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

/* ===== 鼠标跟随 ===== */
.cursor-follower {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease, width 0.2s, height 0.2s;
    transform: translate(-50%, -50%);
}

.cursor-follower.hover {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== 加载动画 ===== */
#loader {
    position: fixed;
    inset: 0;
    background: var(--bg-color);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.loader-text {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.progress-bar {
    width: 200px;
    height: 2px;
    background: #222;
    margin: 0 auto;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0;
    background: var(--accent);
    animation: loadProgress 2s ease forwards;
}

@keyframes loadProgress {
    0% { width: 0; }
    50% { width: 40%; }
    100% { width: 100%; }
}

.loader-percent {
    font-family: var(--font-mono);
    font-size: 24px;
    margin-top: 20px;
    letter-spacing: 2px;
}

/* ===== 导航栏 ===== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 25px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    font-weight: 700;
    font-size: 20px;
    width: 40px;
    height: 40px;
    background: #fff;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.logo-text {
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 2px;
}

.menu-items {
    display: flex;
    gap: 30px;
}

.menu-items a {
    font-size: 13px;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
    transition: opacity 0.3s;
}

.menu-items a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s;
}

.menu-items a:hover::after {
    width: 100%;
}

.menu-items .github-link {
    background: rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

.menu-items .github-link::after {
    display: none;
}

.menu-items .github-link:hover {
    background: rgba(255,255,255,0.2);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s;
}

/* ===== 移动端菜单 ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: right 0.4s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu a {
    font-size: 24px;
    letter-spacing: 3px;
}

/* ===== 全局背景效果 ===== */
.global-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(30,30,40,1) 0%, var(--bg-color) 70%);
}

/* CK 大字背景 */
.hero-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) perspective(500px) rotateX(10deg);
    display: flex;
    gap: 20px;
    pointer-events: none;
}

/* ===== Hero 区域 ===== */
header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 50px;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.bg-letter {
    font-size: clamp(300px, 40vw, 500px);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(180deg, 
        rgba(255,255,255,0.08) 0%, 
        rgba(255,255,255,0.02) 50%,
        transparent 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 100px rgba(255,255,255,0.05);
    animation: letterFloat 8s ease-in-out infinite;
}

.bg-letter:nth-child(2) {
    animation-delay: -4s;
}

@keyframes letterFloat {
    0%, 100% { 
        transform: translateY(0) rotateY(0deg); 
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-20px) rotateY(5deg); 
        opacity: 1;
    }
}

/* 光线效果 */
.light-rays {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.ray {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 150%;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(255,255,255,0.03) 50%, 
        transparent 100%);
    transform-origin: center center;
}

.ray:nth-child(1) { transform: translate(-50%, -50%) rotate(-30deg); }
.ray:nth-child(2) { transform: translate(-50%, -50%) rotate(0deg); width: 3px; }
.ray:nth-child(3) { transform: translate(-50%, -50%) rotate(30deg); }

/* 粒子效果 */
.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: particleFloat 10s linear infinite;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; top: 80%; animation-delay: -2s; animation-duration: 10s; }
.particle:nth-child(3) { left: 35%; top: 30%; animation-delay: -4s; animation-duration: 14s; }
.particle:nth-child(4) { left: 50%; top: 70%; animation-delay: -1s; animation-duration: 11s; }
.particle:nth-child(5) { left: 65%; top: 25%; animation-delay: -3s; animation-duration: 13s; }
.particle:nth-child(6) { left: 75%; top: 60%; animation-delay: -5s; animation-duration: 9s; }
.particle:nth-child(7) { left: 85%; top: 40%; animation-delay: -2.5s; animation-duration: 15s; }
.particle:nth-child(8) { left: 90%; top: 85%; animation-delay: -4.5s; animation-duration: 10s; }

@keyframes particleFloat {
    0% { 
        transform: translateY(100vh) scale(0); 
        opacity: 0;
    }
    10% { 
        opacity: 1;
        transform: translateY(80vh) scale(1);
    }
    90% { 
        opacity: 1;
        transform: translateY(-80vh) scale(1);
    }
    100% { 
        transform: translateY(-100vh) scale(0); 
        opacity: 0;
    }
}

/* 浮动元素 */
.floating-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #fff 0%, transparent 70%);
    top: 10%;
    right: 10%;
    animation: float1 20s ease-in-out infinite;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #888 0%, transparent 70%);
    bottom: 20%;
    left: 5%;
    animation: float2 15s ease-in-out infinite;
}

.shape-3 {
    width: 150px;
    height: 150px;
    border: 1px solid rgba(255,255,255,0.2);
    top: 50%;
    left: 30%;
    animation: float3 18s ease-in-out infinite;
}

.shape-4 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.02) 0%, transparent 70%);
    bottom: 10%;
    right: 20%;
    animation: float2 25s ease-in-out infinite reverse;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-30px, 30px) rotate(180deg); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

@keyframes float3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 20px) scale(1.1); }
}

.hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 30px;
    margin-bottom: 20px;
    margin-top: 80px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 1px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

h1 {
    margin-bottom: 30px;
}

h1 .line {
    display: block;
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -2px;
}

h1 .line.bold {
    font-weight: 700;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-desc strong {
    color: var(--accent);
}

.highlight {
    background: linear-gradient(135deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero 按钮 */
.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: var(--accent);
    color: var(--bg-color);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255,255,255,0.2);
}

.btn-primary span {
    transition: transform 0.3s;
}

.btn-primary:hover span {
    transform: translateX(5px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border: 1px solid rgba(255,255,255,0.3);
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
}

/* Hero 右侧代码块 */
.hero-visual {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.code-block {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    overflow: hidden;
    width: 350px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 15px;
    background: #1a1a1a;
    border-bottom: 1px solid #222;
}

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

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27ca40; }

.filename {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
}

.code-block pre {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.8;
    overflow-x: auto;
}

.code-block code {
    color: #e0e0e0;
}

.keyword { color: #c792ea; }
.string { color: #c3e88d; }
.number { color: #f78c6c; }
.boolean { color: #89ddff; }

.hero-stats {
    display: flex;
    gap: 60px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -1px;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: 5px;
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

.scroll-hint span {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* ===== 作品区域 ===== */
.works-section {
    padding: 100px 50px;
    min-height: 100vh;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
}

.section-title {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 3px;
}

.section-count {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    margin-left: auto;
}

.works-intro {
    max-width: 600px;
    margin-bottom: 40px;
}

.works-intro p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
}

.works-more {
    text-align: center;
    margin-top: 60px;
}

.more-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 2px;
    padding: 15px 30px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.more-link:hover {
    background: var(--accent);
    color: var(--bg-color);
    border-color: var(--accent);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

/* ===== 项目卡片 ===== */
.card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    min-height: 260px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
}

.card:hover {
    transform: translateY(-8px);
    border-color: #444;
    background: #151515;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.5s;
}

.card:hover::before {
    transform: scale(2);
}

.card-top {
    position: relative;
    z-index: 1;
}

.card-number {
    font-family: var(--font-mono);
    font-size: 11px;
    color: #444;
    margin-bottom: 15px;
}

.card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.card-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.card-tags {
    display: flex;
    gap: 8px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.card-tags span {
    font-family: var(--font-mono);
    font-size: 10px;
    padding: 4px 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    color: var(--text-muted);
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.card-arrow {
    font-size: 20px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
}

.card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.card-featured {
    border-color: #333;
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
}

.card-featured .card-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    padding: 4px 10px;
    background: #fff;
    color: #000;
    border-radius: 20px;
    letter-spacing: 1px;
}

/* ===== 关于区域 ===== */
.about-section {
    padding: 100px 50px;
    border-top: 1px solid var(--border-color);
}

.about-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.about-left {
    flex-shrink: 0;
}

.about-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 35px;
    width: 320px;
    position: relative;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 50%);
    animation: cardGlow 10s linear infinite;
}

@keyframes cardGlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.card-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fff 0%, #ccc 100%);
    color: #000;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.card-info {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.card-name {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

.card-role {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.card-stats {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.card-stat {
    text-align: center;
    flex: 1;
}

.card-stat .num {
    display: block;
    font-size: 20px;
    font-weight: 600;
}

.card-stat .label {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.card-links {
    display: flex;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.card-link {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    font-family: var(--font-mono);
    font-size: 12px;
    transition: all 0.3s;
}

.card-link:hover {
    background: var(--accent);
    color: var(--bg-color);
    border-color: var(--accent);
}

.about-right {
    flex: 1;
}

.about-title {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 15px;
    margin-top: 30px;
}

.about-title:first-child {
    margin-top: 0;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
}

.about-text strong {
    color: var(--accent);
}

.skills-section {
    margin-top: 40px;
}

.skills-title {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    font-family: var(--font-mono);
    font-size: 12px;
    padding: 10px 18px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    transition: all 0.3s;
    cursor: default;
}

.skill-tag:hover {
    background: var(--accent);
    color: var(--bg-color);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* ===== 联系区域 ===== */
.contact-section {
    padding: 100px 50px;
    border-top: 1px solid var(--border-color);
}

.contact-hero {
    text-align: center;
    margin-bottom: 60px;
}

.contact-heading {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.contact-heading .highlight {
    font-weight: 700;
}

.contact-desc {
    color: var(--text-muted);
    font-size: 16px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.contact-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.contact-card:hover::before {
    transform: translateX(100%);
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: #444;
}

.contact-card.github {
    text-decoration: none;
}

.contact-card.github:hover {
    background: #24292e;
}

.contact-icon {
    font-size: 28px;
    margin-bottom: 15px;
}

.contact-card .contact-label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.contact-card .contact-value {
    font-size: 16px;
    font-weight: 500;
}

.contact-hint {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 15px;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s;
}

.contact-card:hover .contact-hint {
    opacity: 1;
    transform: translateY(0);
}

.contact-cta {
    text-align: center;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: 2px;
    padding: 20px 50px;
    border: 1px solid var(--accent);
    transition: all 0.3s;
}

.cta-btn:hover {
    background: var(--accent);
    color: var(--bg-color);
}

.cta-btn .arrow {
    transition: transform 0.3s;
}

.cta-btn:hover .arrow {
    transform: translateX(5px);
}

/* ===== 页脚 ===== */
footer {
    padding: 50px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 2px;
}

.footer-text {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

/* ===== 响应式 - 平板 ===== */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== 响应式 - 手机 ===== */
@media (max-width: 768px) {
    body {
        cursor: auto;
    }
    
    .cursor-follower {
        display: none;
    }
    
    nav {
        padding: 15px 20px;
    }
    
    .logo-text {
        display: none;
    }
    
    .menu-items {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    header {
        padding: 0 20px;
        padding-top: 80px;
    }
    
    .hero-badge {
        font-size: 10px;
        padding: 6px 12px;
    }
    
    .hero-tag {
        font-size: 10px;
        letter-spacing: 1px;
    }
    
    h1 .line {
        font-size: 11vw;
        letter-spacing: -1px;
    }
    
    .hero-desc {
        font-size: 14px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 20px;
        justify-content: space-between;
    }
    
    .stat-num {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 9px;
    }
    
    .scroll-hint {
        display: none;
    }
    
    .floating-shapes {
        opacity: 0.5;
    }
    
    .works-section,
    .about-section,
    .contact-section {
        padding: 60px 20px;
    }
    
    .section-header {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .section-tag {
        display: none;
    }
    
    .grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .card {
        min-height: 220px;
        padding: 25px;
    }
    
    .about-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .about-card {
        width: 100%;
        text-align: center;
    }
    
    .card-avatar {
        margin: 0 auto 20px;
    }
    
    .card-name {
        justify-content: center;
    }
    
    .card-stats {
        gap: 15px;
        justify-content: center;
    }
    
    .card-links {
        justify-content: center;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-text h3 {
        text-align: center;
    }
    
    .about-text p {
        text-align: center;
    }
    
    .skills-box {
        text-align: center;
    }
    
    .skills-box h4 {
        text-align: center;
    }
    
    .skill-tags {
        justify-content: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-card {
        padding: 25px;
        text-align: center;
    }
    
    .contact-icon {
        margin: 0 auto 15px;
    }
    
    .contact-heading {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .contact-intro {
        text-align: center;
    }
    
    .cta-btn {
        width: 100%;
        justify-content: center;
        padding: 18px 30px;
    }
    
    footer {
        padding: 30px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* ===== 小屏手机 ===== */
@media (max-width: 375px) {
    h1 .line {
        font-size: 12vw;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .stat {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    
    .stat-label {
        margin-top: 0;
    }
}

/* ===== 滚动条 ===== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ===== 选中样式 ===== */
::selection {
    background: rgba(255, 255, 255, 0.2);
}
