/* 关于页面样式 - 现代动态设计 */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; color: #2c3e50; background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%); min-height: 100vh; overflow-x: hidden; } /* 动态背景 */ body::before { content: ''; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.08) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.08) 0%, transparent 50%), radial-gradient(circle at 40% 40%, rgba(52, 152, 219, 0.06) 0%, transparent 50%), radial-gradient(circle at 60% 60%, rgba(155, 89, 182, 0.06) 0%, transparent 50%); z-index: -1; animation: backgroundShift 25s ease-in-out infinite; } @keyframes backgroundShift { 0%, 100% { transform: scale(1) rotate(0deg); } 50% { transform: scale(1.1) rotate(5deg); } } /* 链接样式 - 添加动画效果 */ a { color: #667eea; text-decoration: none; position: relative; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } a:hover { color: #764ba2; transform: translateY(-1px); } /* 引用线样式 */ .quote-section { position: relative; padding-left: 2rem; } .quote-line { position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #667eea 0%, #764ba2 50%, #9b59b6 100%); border-radius: 2px; box-shadow: 0 0 10px rgba(102, 126, 234, 0.3); } .quote-content { position: relative; } .intro-quote { margin: 1.5rem 0; padding: 1.5rem; background: rgba(255, 255, 255, 0.9); border-radius: 15px; border-left: 4px solid #667eea; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); backdrop-filter: blur(10px); position: relative; transition: all 0.3s ease; } .intro-quote:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15); } .intro-quote::before { content: '"'; position: absolute; top: -10px; left: 15px; font-size: 3rem; color: #667eea; font-family: Georgia, serif; opacity: 0.3; } .intro-quote p { margin: 0; font-style: italic; color: #2c3e50; line-height: 1.7; font-size: 1.1rem; } /* 链接下划线动画 */ a:not(.nav-logo):not(.nav-links a):not(.social-link):not(.btn):not(.footer-info a)::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, #667eea, #764ba2); transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1); } a:not(.nav-logo):not(.nav-links a):not(.social-link):not(.btn):not(.footer-info a):hover::after { width: 100%; } /* 导航链接特殊动画 */ .nav-links a { position: relative; overflow: hidden; } .nav-links a::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 ease; } .nav-links a:hover::before { left: 100%; } /* 社交链接脉冲动画 */ .social-link:hover { animation: socialPulse 0.6s ease; } @keyframes socialPulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } } /* 按钮悬浮效果 */ .btn { position: relative; overflow: hidden; z-index: 1; } .btn::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 100%; background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.2)); transition: width 0.3s ease; z-index: -1; } .btn:hover::before { width: 100%; } .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2); } /* 导航栏 */ .navbar { position: fixed; top: 0; left: 0; right: 0; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px); z-index: 1000; padding: 1rem 0; transition: all 0.3s ease; border-bottom: 1px solid rgba(102, 126, 234, 0.1); box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08); } .navbar.scrolled { background: rgba(255, 255, 255, 0.98); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15); } .nav-container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; } .nav-logo { font-size: 1.8rem; font-weight: 800; color: #2c3e50; text-decoration: none; background: linear-gradient(45deg, #667eea, #764ba2, #9b59b6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; transition: all 0.3s ease; } .nav-logo:hover { transform: scale(1.05); } .nav-links { display: flex; list-style: none; gap: 2.5rem; background: rgba(255, 255, 255, 0.1); padding: 0.8rem 1.5rem; border-radius: 50px; backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); } .nav-links a { text-decoration: none; color: #2c3e50; font-weight: 600; transition: all 0.3s ease; position: relative; padding: 0.5rem 1rem; border-radius: 25px; } .nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%); width: 0; height: 3px; background: linear-gradient(45deg, #ff6b6b, #4ecdc4); border-radius: 2px; transition: width 0.3s ease; } .nav-links a:hover, .nav-links a.active { color: #ff6b6b; background: rgba(255, 255, 255, 0.2); transform: translateY(-2px); } .nav-links a:hover::after, .nav-links a.active::after { width: 80%; } .nav-links a.active { background: rgba(255, 107, 107, 0.1); color: #ff6b6b; } /* 主要内容 */ .about-main { margin-top: 80px; max-width: 1400px; margin-left: auto; margin-right: auto; } /* 英雄区域 */ .hero-section { padding: 4rem 2rem; background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 25%, #dee2e6 50%, #ced4da 75%, #adb5bd 100%); background-size: 400% 400%; animation: heroGradientShift 15s ease infinite; min-height: 80vh; display: flex; align-items: center; position: relative; overflow: hidden; border-radius: 0 0 50px 50px; margin-bottom: 2rem; } .hero-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%), radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%); pointer-events: none; } @keyframes heroGradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } /* INFJ装饰图片 - 重新设计布局 */ .infj-decoration { position: absolute; top: 30px; right: 30px; z-index: 10; opacity: 0.9; } .infj-image { width: 100px; height: 100px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, 0.4); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 0 25px rgba(120, 119, 198, 0.4); transition: all 0.3s ease; animation: gentleFloat 4s ease-in-out infinite; filter: brightness(1.1) contrast(1.1); } .infj-image:hover { transform: scale(1.15) rotate(10deg); box-shadow: 0 15px 50px rgba(120, 119, 198, 0.6), 0 0 30px rgba(255, 255, 255, 0.4); border-color: rgba(120, 119, 198, 0.6); filter: brightness(1.3) contrast(1.2) saturate(1.2); } /* 轻柔浮动动画 */ @keyframes gentleFloat { 0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); } 50% { transform: translateY(-10px) rotate(5deg) scale(1.05); } } .hero-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 2fr; gap: 4rem; align-items: center; } .hero-left { display: flex; justify-content: center; } .profile-card { background: rgba(255, 255, 255, 0.95); border-radius: 20px; padding: 2rem; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); text-align: center; position: relative; overflow: hidden; border: 2px solid rgba(102, 126, 234, 0.2); backdrop-filter: blur(10px); } .profile-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, #667eea, #764ba2, #667eea); background-size: 200% 100%; animation: gradientShift 3s ease-in-out infinite; } @keyframes gradientShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } } .profile-avatar { position: relative; display: inline-block; margin-bottom: 1.5rem; } .avatar-image { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid #fff; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); transition: all 0.3s ease; } .avatar-image:hover { transform: scale(1.05); box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2); } .status-indicator { position: absolute; bottom: 8px; right: 8px; width: 20px; height: 20px; background: #4CAF50; border-radius: 50%; border: 3px solid #fff; animation: pulse 2s infinite; } @keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); } 100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); } } .profile-info h1 { margin: 0 0 0.5rem 0; font-size: 2rem; font-weight: 700; color: #333; } .profile-info p { margin: 0 0 1rem 0; color: #666; font-size: 1.1rem; } .location-info { display: flex; justify-content: center; align-items: center; gap: 0.5rem; color: #888; font-size: 0.9rem; } .hero-right { padding-left: 2rem; } .intro-content h2 { font-size: 2.5rem; font-weight: 800; color: #333; margin-bottom: 1.5rem; background: linear-gradient(45deg, #667eea, #764ba2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .intro-text p { font-size: 1.1rem; line-height: 1.8; color: #555; margin-bottom: 1.5rem; } .personality-section { margin: 2rem 0; } .mbti-card { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 15px; padding: 1.5rem; color: #fff; margin-bottom: 2rem; } .mbti-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; } .mbti-tag { background: rgba(255, 255, 255, 0.2); padding: 0.5rem 1rem; border-radius: 25px; font-weight: 700; font-size: 1.1rem; } .mbti-name { font-size: 1.2rem; font-weight: 600; } .mbti-traits { display: flex; gap: 0.8rem; flex-wrap: wrap; } .trait { background: rgba(255, 255, 255, 0.15); padding: 0.4rem 0.8rem; border-radius: 20px; font-size: 0.9rem; border: 1px solid rgba(255, 255, 255, 0.2); } .profile-avatar { position: relative; display: inline-block; margin-bottom: 2rem; } .hero-title { font-size: 4rem; font-weight: 800; margin-bottom: 1rem; background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #f9ca24); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: titleGlow 3s ease-in-out infinite; text-shadow: 0 0 30px rgba(255, 107, 107, 0.3); } .hero-subtitle { font-size: 1.4rem; color: #333; margin-bottom: 1.5rem; font-weight: 500; opacity: 0.9; } .hero-description { margin-bottom: 2rem; } .hero-description p { font-size: 1.2rem; color: #555; font-weight: 400; margin: 0; padding: 1rem 2rem; background: rgba(255, 255, 255, 0.2); border-radius: 25px; border: 1px solid rgba(255, 255, 255, 0.3); display: inline-block; } .avatar-image:hover { transform: scale(1.05); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4); } .avatar-ring { position: absolute; top: -15px; left: -15px; right: -15px; bottom: -15px; border: 2px solid; border-image: linear-gradient(45deg, #667eea, #764ba2, #667eea) 1; border-radius: 50%; animation: rotate 10s linear infinite; } @keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } .hero-title { font-size: 4rem; font-weight: 800; color: #2c3e50; margin-bottom: 1rem; background: linear-gradient(45deg, #667eea, #764ba2, #9b59b6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; animation: titleGlow 3s ease-in-out infinite alternate; } @keyframes titleGlow { from { filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.5)); } to { filter: drop-shadow(0 0 30px rgba(118, 75, 162, 0.8)); } } .hero-subtitle { font-size: 1.5rem; color: #2c3e50; margin-bottom: 2rem; font-weight: 300; opacity: 0.8; } .personality-badge { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-bottom: 3rem; } .mbti-tag { background: linear-gradient(45deg, #ff6b6b, #4ecdc4); color: #fff; padding: 0.8rem 1.5rem; border-radius: 30px; font-size: 1rem; font-weight: 700; box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4); animation: pulse 2s infinite; border: 2px solid rgba(255, 255, 255, 0.3); } .badge-desc { color: #2c3e50; font-size: 0.9rem; font-style: italic; font-weight: 500; } .hero-stats { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; } .hero-stats .stat-item { text-align: center; } .hero-stats .stat-number { font-size: 2.5rem; font-weight: 800; background: linear-gradient(45deg, #ff6b6b, #4ecdc4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: block; margin-bottom: 0.5rem; } .hero-stats .stat-label { color: #2c3e50; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; } /* 通用区域样式 */ .section-header { text-align: center; margin-bottom: 4rem; padding: 0 2rem; } .section-title { font-size: 3rem; font-weight: 800; background: linear-gradient(45deg, #667eea, #764ba2, #9b59b6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 1rem; position: relative; display: inline-block; } .section-title::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 80px; height: 4px; background: linear-gradient(45deg, #ff6b6b, #4ecdc4); border-radius: 2px; box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3); } .section-subtitle { font-size: 1.2rem; color: #2c3e50; font-weight: 500; opacity: 0.8; } /* 技术栈云图 - INFJ风格设计 */ .tech-cloud-section { padding: 8rem 2rem; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-radius: 50px; margin: 2rem; border: 2px solid rgba(102, 126, 234, 0.1); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08); position: relative; overflow: hidden; } .tech-cloud-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%), radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%); pointer-events: none; } @keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } /* 标签云容器 */ .cloud-wrapper { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 15px; min-height: 400px; position: relative; perspective: 1000px; } /* 连接线动画 */ .cloud-wrapper::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 1px, transparent 1px), radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 1px, transparent 1px), radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px), radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px); background-size: 100px 100px, 150px 150px, 120px 120px, 80px 80px; animation: connectionLines 15s linear infinite; pointer-events: none; opacity: 0.3; } @keyframes connectionLines { 0% { transform: translate(0, 0) rotate(0deg); } 25% { transform: translate(-10px, -10px) rotate(90deg); } 50% { transform: translate(10px, -5px) rotate(180deg); } 75% { transform: translate(-5px, 10px) rotate(270deg); } 100% { transform: translate(0, 0) rotate(360deg); } } /* 标签云标签 */ .cloud-tag { display: inline-block; padding: 0.8rem 1.5rem; margin: 0.5rem; border-radius: 25px; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border: 2px solid rgba(102, 126, 234, 0.2); color: #2c3e50; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); animation: cloudFloat 8s ease-in-out infinite; position: relative; overflow: hidden; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); } /* 标签浮动动画 */ @keyframes cloudFloat { 0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); } 25% { transform: translateY(-15px) rotate(2deg) scale(1.02); } 50% { transform: translateY(-8px) rotate(0deg) scale(1); } 75% { transform: translateY(-20px) rotate(-2deg) scale(0.98); } } /* 标签悬浮效果 */ .cloud-tag::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; } .cloud-tag:hover::before { left: 100%; } .cloud-tag:hover { transform: translateY(-8px) scale(1.1) rotate(5deg); background: rgba(255, 255, 255, 1); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 0 25px var(--tag-color, #667eea); border-color: var(--tag-color, #667eea); color: var(--tag-color, #667eea); z-index: 10; } /* 根据权重设置不同大小和颜色 */ .cloud-tag[data-weight="5"] { font-size: 20px; padding: 12px 24px; font-weight: 700; animation-duration: 6s; } .cloud-tag[data-weight="4"] { font-size: 18px; padding: 10px 20px; font-weight: 600; animation-duration: 7s; } .cloud-tag[data-weight="3"] { font-size: 16px; padding: 9px 18px; font-weight: 500; animation-duration: 8s; } .cloud-tag[data-weight="2"] { font-size: 14px; padding: 8px 16px; font-weight: 400; animation-duration: 9s; } .cloud-tag[data-weight="1"] { font-size: 12px; padding: 6px 14px; font-weight: 300; opacity: 0.8; animation-duration: 10s; } /* 不同类别的技术标签颜色 */ .cloud-tag[data-category="core"] { --tag-color: #e74c3c; border-color: rgba(231, 76, 60, 0.3); } .cloud-tag[data-category="core"]:hover { background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(231, 76, 60, 0.05)); } .cloud-tag[data-category="backend"] { --tag-color: #27ae60; border-color: rgba(39, 174, 96, 0.3); } .cloud-tag[data-category="backend"]:hover { background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(39, 174, 96, 0.05)); } .cloud-tag[data-category="data"] { --tag-color: #3498db; border-color: rgba(52, 152, 219, 0.3); } .cloud-tag[data-category="data"]:hover { background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.05)); } .cloud-tag[data-category="ops"] { --tag-color: #f39c12; border-color: rgba(243, 156, 18, 0.3); } .cloud-tag[data-category="ops"]:hover { background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), rgba(243, 156, 18, 0.05)); } .cloud-tag[data-category="ai"] { --tag-color: #9b59b6; border-color: rgba(155, 89, 182, 0.3); } .cloud-tag[data-category="ai"]:hover { background: linear-gradient(135deg, rgba(155, 89, 182, 0.1), rgba(155, 89, 182, 0.05)); } /* 分类特定动画延迟 */ .cloud-tag[data-category="core"]:nth-child(odd) { animation-delay: 0s; } .cloud-tag[data-category="core"]:nth-child(even) { animation-delay: 1s; } .cloud-tag[data-category="backend"]:nth-child(odd) { animation-delay: 2s; } .cloud-tag[data-category="backend"]:nth-child(even) { animation-delay: 3s; } .cloud-tag[data-category="ai"]:nth-child(odd) { animation-delay: 4s; } .cloud-tag[data-category="ai"]:nth-child(even) { animation-delay: 5s; } .cloud-tag[data-category="data"]:nth-child(odd) { animation-delay: 1.5s; } .cloud-tag[data-category="data"]:nth-child(even) { animation-delay: 2.5s; } .cloud-tag[data-category="ops"]:nth-child(odd) { animation-delay: 3.5s; } .cloud-tag[data-category="ops"]:nth-child(even) { animation-delay: 4.5s; } /* 个性时间线 */ .personality-timeline-section { padding: 8rem 2rem; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-radius: 50px; margin: 2rem; border: 2px solid rgba(102, 126, 234, 0.1); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08); } .personality-timeline { max-width: 800px; margin: 0 auto; position: relative; } .personality-timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; background: linear-gradient(to bottom, #ff6b6b, #4ecdc4, #45b7d1, #f9ca24); transform: translateX(-50%); border-radius: 2px; box-shadow: 0 0 20px rgba(255, 107, 107, 0.3); } .timeline-item { display: flex; align-items: center; margin-bottom: 4rem; position: relative; } .timeline-item:nth-child(even) { flex-direction: row-reverse; } .timeline-icon { width: 90px; height: 90px; border-radius: 50%; background: linear-gradient(45deg, #ff6b6b, #4ecdc4); display: flex; align-items: center; justify-content: center; font-size: 2.2rem; z-index: 2; box-shadow: 0 15px 35px rgba(255, 107, 107, 0.4); border: 3px solid rgba(255, 255, 255, 0.3); transition: all 0.3s ease; } .timeline-icon:hover { transform: scale(1.1) rotate(10deg); box-shadow: 0 20px 40px rgba(255, 107, 107, 0.6); } .timeline-content { flex: 1; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); padding: 2rem; border-radius: 25px; margin: 0 2rem; border: 2px solid rgba(255, 255, 255, 0.5); transition: all 0.3s ease; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); } .timeline-content:hover { background: rgba(255, 255, 255, 1); transform: translateY(-8px) scale(1.02); box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15); border-color: #ff6b6b; } .timeline-content h3 { background: linear-gradient(45deg, #667eea, #764ba2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-size: 1.5rem; margin-bottom: 1rem; font-weight: 700; } .timeline-content p { color: #2c3e50; line-height: 1.6; font-weight: 500; } /* GitHub项目展示 */ .github-showcase-section { padding: 8rem 2rem; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-radius: 50px; margin: 2rem; border: 2px solid rgba(102, 126, 234, 0.1); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08); } .projects-masonry { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; align-items: start; } .project-card { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-radius: 25px; padding: 2rem; border: 2px solid rgba(255, 255, 255, 0.5); transition: all 0.3s ease; position: relative; overflow: hidden; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); } .project-card::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.1), transparent); transition: left 0.5s ease; } .project-card:hover::before { left: 100%; } .project-card:hover { transform: translateY(-15px) scale(1.02); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15); border-color: #ff6b6b; background: rgba(255, 255, 255, 1); } .project-title { background: linear-gradient(45deg, #667eea, #764ba2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-size: 1.4rem; margin-bottom: 1rem; font-weight: 700; } .project-description { color: #555; margin-bottom: 1.5rem; line-height: 1.6; font-weight: 500; } .project-stats { display: flex; gap: 1rem; margin-bottom: 1rem; } .project-stat { display: flex; align-items: center; gap: 0.3rem; color: #666; font-size: 0.9rem; font-weight: 600; } .project-link { display: inline-block; background: linear-gradient(45deg, #ff6b6b, #4ecdc4); color: #fff; padding: 0.8rem 1.8rem; border-radius: 30px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3); } .project-link:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 25px rgba(255, 107, 107, 0.5); } /* 博客瀑布流 */ .blog-waterfall-section { padding: 8rem 2rem; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-radius: 50px; margin: 2rem; border: 2px solid rgba(102, 126, 234, 0.1); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08); } .view-all-link { background: linear-gradient(45deg, #ff6b6b, #4ecdc4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 0.5rem; transition: all 0.3s ease; padding: 0.5rem 1rem; border-radius: 20px; border: 2px solid transparent; background-origin: border-box; } .view-all-link:hover { transform: translateX(8px) scale(1.05); border-color: #ff6b6b; background: rgba(255, 107, 107, 0.1); } .articles-waterfall { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; align-items: start; } .article-card { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-radius: 20px; padding: 1.8rem; border: 2px solid rgba(255, 255, 255, 0.5); transition: all 0.3s ease; text-decoration: none; display: block; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); } .article-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); background: rgba(255, 255, 255, 1); border-color: #ff6b6b; } .article-title { background: linear-gradient(45deg, #667eea, #764ba2); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; font-size: 1.3rem; font-weight: 700; margin-bottom: 1rem; line-height: 1.4; } .article-excerpt { color: #555; font-size: 0.95rem; line-height: 1.6; margin-bottom: 1rem; font-weight: 500; } .article-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: #666; font-weight: 600; } .article-category { background: linear-gradient(45deg, #45b7d1, #96ceb4); color: #fff; padding: 0.4rem 1rem; border-radius: 15px; font-size: 0.75rem; font-weight: 600; box-shadow: 0 3px 10px rgba(69, 183, 209, 0.3); } /* 联系方式轨道 - 循环随机围绕动画 */ .contact-floating-section { padding: 8rem 2rem; position: relative; min-height: 600px; overflow: hidden; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-radius: 50px; margin: 2rem; border: 2px solid rgba(102, 126, 234, 0.1); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08); } .contact-floating-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 20% 30%, rgba(102, 126, 234, 0.08) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(118, 75, 162, 0.08) 0%, transparent 50%), radial-gradient(circle at 40% 80%, rgba(155, 89, 182, 0.06) 0%, transparent 50%); pointer-events: none; z-index: 1; border-radius: 50px; } .contact-container { max-width: 800px; margin: 0 auto; text-align: center; position: relative; } .contact-title h2 { font-size: 2.8rem; background: linear-gradient(45deg, #667eea, #764ba2, #9b59b6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 1rem; font-weight: 800; position: relative; z-index: 10; } .contact-title p { color: #2c3e50; font-size: 1.2rem; margin-bottom: 4rem; font-weight: 500; opacity: 0.8; position: relative; z-index: 10; } .social-grid { position: relative; width: 500px; height: 500px; margin: 0 auto; border-radius: 50%; } .social-card { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(15px); border: 2px solid rgba(102, 126, 234, 0.2); border-radius: 25px; padding: 1rem; text-decoration: none; color: #2c3e50; transition: all 0.3s ease; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; position: absolute; top: 50%; left: 50%; overflow: hidden; width: 120px; height: 120px; justify-content: center; text-align: center; transform-origin: center; } .social-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--social-color, #667eea); transform: scaleX(0); transition: transform 0.3s ease; } .social-card:hover { transform: scale(1.1); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 0 25px var(--social-color, #667eea); border-color: var(--social-color, #667eea); background: rgba(255, 255, 255, 1); animation-play-state: paused; } .social-card:hover::before { transform: scaleX(1); } .social-icon { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--social-color, #667eea), var(--social-color-end, #764ba2)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; flex-shrink: 0; margin-bottom: 0.5rem; } .social-info h3 { margin: 0; font-size: 0.9rem; font-weight: 600; color: #2c3e50; } .social-info p { margin: 0; font-size: 0.7rem; color: #666; } /* 轨道围绕动画 - 每个卡片不同的轨道路径,优化避免碰撞 */ .social-card:nth-child(1) { animation: orbit1 20s linear infinite; } .social-card:nth-child(2) { animation: orbit2 25s linear infinite; } .social-card:nth-child(3) { animation: orbit3 30s linear infinite; } .social-card:nth-child(4) { animation: orbit4 35s linear infinite; } .social-card:nth-child(5) { animation: orbit5 40s linear infinite; } .social-card:nth-child(6) { animation: orbit6 45s linear infinite; } /* 轨道动画关键帧 - 优化避免碰撞 */ @keyframes orbit1 { 0% { transform: translate(-50%, -50%) rotate(0deg) translateX(180px) rotate(0deg); } 100% { transform: translate(-50%, -50%) rotate(360deg) translateX(180px) rotate(-360deg); } } @keyframes orbit2 { 0% { transform: translate(-50%, -50%) rotate(72deg) translateX(200px) rotate(-72deg); } 100% { transform: translate(-50%, -50%) rotate(432deg) translateX(200px) rotate(-432deg); } } @keyframes orbit3 { 0% { transform: translate(-50%, -50%) rotate(144deg) translateX(160px) rotate(-144deg); } 100% { transform: translate(-50%, -50%) rotate(504deg) translateX(160px) rotate(-504deg); } } @keyframes orbit4 { 0% { transform: translate(-50%, -50%) rotate(216deg) translateX(220px) rotate(-216deg); } 100% { transform: translate(-50%, -50%) rotate(576deg) translateX(220px) rotate(-576deg); } } @keyframes orbit5 { 0% { transform: translate(-50%, -50%) rotate(288deg) translateX(140px) rotate(-288deg); } 100% { transform: translate(-50%, -50%) rotate(648deg) translateX(140px) rotate(-648deg); } } @keyframes orbit6 { 0% { transform: translate(-50%, -50%) rotate(36deg) translateX(240px) rotate(-36deg); } 100% { transform: translate(-50%, -50%) rotate(396deg) translateX(240px) rotate(-396deg); } } .social-card.github { --social-color: #333; --social-color-end: #555; } .social-card.email { --social-color: #ea4335; --social-color-end: #fbbc05; } .social-card.blog { --social-color: #667eea; --social-color-end: #764ba2; } .social-card.zhihu { --social-color: #0084ff; --social-color-end: #0066cc; } .social-card.wechat { --social-color: #07c160; --social-color-end: #00a854; } .social-card.juejin { --social-color: #1e80ff; --social-color-end: #1890ff; } /* 微信弹窗样式 */ .modal { position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); backdrop-filter: blur(5px); } .modal-content { background-color: #fff; margin: 10% auto; padding: 2rem; border-radius: 15px; width: 90%; max-width: 400px; text-align: center; position: relative; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); } .close { position: absolute; right: 1rem; top: 1rem; color: #aaa; font-size: 1.5rem; font-weight: bold; cursor: pointer; transition: color 0.3s ease; } .close:hover { color: #333; } .qr-code { margin: 1rem 0; } .qr-code img { width: 200px; height: 200px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); } /* 评论系统 */ .comments-section { padding: 8rem 2rem; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-radius: 50px; margin: 2rem; border: 2px solid rgba(102, 126, 234, 0.1); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08); } .comments-container { max-width: 1000px; margin: 0 auto; text-align: center; } .comments-container .section-title { margin-bottom: 0.5rem; } .comments-container .section-subtitle { margin-bottom: 3rem; } #artalk-container { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); border-radius: 25px; padding: 2.5rem; border: 2px solid rgba(255, 255, 255, 0.5); text-align: left; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); } /* 加载动画 */ .loading-placeholder { text-align: center; padding: 4rem 2rem; color: #333; font-weight: 600; } .loading-spinner { width: 45px; height: 45px; border: 4px solid rgba(255, 107, 107, 0.1); border-top: 4px solid #ff6b6b; border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 1rem; box-shadow: 0 5px 15px rgba(255, 107, 107, 0.2); } @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } } /* 响应式设计 */ @media (max-width: 1024px) { .tech-categories { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } .hero-content { grid-template-columns: 1fr; text-align: center; gap: 2rem; } .social-grid { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } } @media (max-width: 768px) { .nav-container { padding: 0 1rem; } .nav-links { gap: 1rem; } .hero-title { font-size: 2.5rem; } .hero-subtitle { font-size: 1.2rem; } .hero-stats { gap: 2rem; } .section-title { font-size: 2rem; } .tech-categories { grid-template-columns: 1fr; } .personality-timeline::before { left: 30px; } .timeline-item { flex-direction: row !important; padding-left: 80px; } .timeline-icon { position: absolute; left: 0; width: 60px; height: 60px; font-size: 1.5rem; } .timeline-content { margin: 0; margin-left: 1rem; } .social-grid { grid-template-columns: 1fr; } .projects-masonry, .articles-waterfall { grid-template-columns: 1fr; } } @media (max-width: 480px) { .hero-title { font-size: 2rem; } .hero-stats { flex-direction: column; gap: 1rem; } .personality-badge { flex-direction: column; gap: 0.5rem; } .tech-cloud { width: 280px; height: 280px; } .orbit-1 { width: 120px; height: 120px; } .orbit-2 { width: 180px; height: 180px; } .orbit-3 { width: 240px; height: 240px; } .tech-item { padding: 0.5rem 1rem; font-size: 0.8rem; } .social-grid { grid-template-columns: 1fr; gap: 1rem; } .footer-content { grid-template-columns: 1fr !important; text-align: center; gap: 2rem; } .footer-section { text-align: center; } } /* 页脚样式 - 首页风格 */ .footer { background: #2c3e50; color: rgba(255, 255, 255, 0.8); padding: 30px 0; margin-top: 80px; text-align: center; } .footer-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } .footer-bottom { border-top: none; } .footer-info { color: rgba(255, 255, 255, 0.7); font-size: 0.9rem; } .footer-info p { margin: 8px 0; line-height: 1.6; } .footer-info a { color: rgba(255, 255, 255, 0.8); text-decoration: none; transition: color 0.3s ease; } .footer-info a:hover { color: #fff; } @media (max-width: 768px) { .footer { padding: 20px 0; } .footer-info { font-size: 0.8rem; } } .tech-philosophy { text-align: center; }