/* 全局样式变量 */
:root {
  --primary-color: #6c63ff;
  --secondary-color: #00c9a7;
  --accent-color: #ff6b6b;
  --gradient-primary: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  --gradient-secondary: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
  --background-color: #0f0f12;
  --light-bg: #191923;
  --darker-bg: #080810;
  --text-color: #ffffff;
  --text-light: #a7a7a7;
  --text-lighter: #e0e0e0;
  --border-color: rgba(255, 255, 255, 0.05);
  --card-bg: #191923;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  --shadow-light: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --container-width: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-main: 'Poppins', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-main);
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
  outline: none;
}

input, textarea {
  font-family: inherit;
  outline: none;
}

/* 鼠标跟随效果 */
.cursor-follower {
  position: fixed;
  width: 40px;
  height: 40px;
  border: 2px solid var(--primary-color);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
  z-index: 9999;
  opacity: 0;
}

.cursor-follower.active {
  opacity: 0.7;
}

.cursor-follower.hover {
  width: 60px;
  height: 60px;
  border-color: var(--secondary-color);
}

/* 通用容器 */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* 页面加载动画 */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading.hidden {
  opacity: 0;
  visibility: hidden;
}

.spinner {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.spinner .path {
  stroke: var(--primary-color);
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
}

.loading-text {
  font-size: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
  animation: pulse 1.5s ease-in-out infinite;
}

/* 导航菜单按钮 */
.nav-toggle {
  position: fixed;
  top: 30px;
  right: 30px;
  width: 40px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  z-index: 1002;
  transition: var(--transition);
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-color);
  transition: var(--transition);
}

.nav-toggle:hover span {
  background-color: var(--primary-color);
}

.nav-toggle.active span:first-child {
  transform: translateY(14px) rotate(45deg);
  background-color: var(--primary-color);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:last-child {
  transform: translateY(-14px) rotate(-45deg);
  background-color: var(--primary-color);
}

/* 全屏导航菜单 */
.fullscreen-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--darker-bg);
  z-index: 1001;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  overflow-y: auto;
}

.fullscreen-nav.active {
  opacity: 1;
  visibility: visible;
}

.nav-content {
  text-align: center;
  max-width: 800px;
  width: 100%;
  padding: 0 2rem;
}

.nav-profile {
  margin-bottom: 3rem;
}

.profile-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-image: var(--gradient-primary);
  margin: 0 auto 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  color: white;
  font-weight: 700;
}

.nav-profile h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.nav-profile p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.fullscreen-nav ul {
  margin-bottom: 3rem;
}

.fullscreen-nav ul li {
  margin-bottom: 1.5rem;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
}

.fullscreen-nav.active ul li {
  transform: translateY(0);
  opacity: 1;
}

.fullscreen-nav ul li:nth-child(1) {
  transition-delay: 0.1s;
}

.fullscreen-nav ul li:nth-child(2) {
  transition-delay: 0.2s;
}

.fullscreen-nav ul li:nth-child(3) {
  transition-delay: 0.3s;
}

.fullscreen-nav ul li:nth-child(4) {
  transition-delay: 0.4s;
}

.fullscreen-nav ul li:nth-child(5) {
  transition-delay: 0.5s;
}

.fullscreen-nav ul li a {
  font-size: 2rem;
  position: relative;
  display: inline-block;
  padding: 0.5rem 1rem;
  transition: var(--transition);
}

.fullscreen-nav ul li a span {
  display: block;
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.fullscreen-nav ul li a:hover {
  color: var(--primary-color);
}

.fullscreen-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.fullscreen-nav ul li a:hover::after {
  left: 0;
  width: 100%;
}

.nav-footer {
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
  transition-delay: 0.6s;
}

.fullscreen-nav.active .nav-footer {
  transform: translateY(0);
  opacity: 1;
}

.nav-footer .social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.nav-footer .social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--light-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-color);
  transition: var(--transition);
}

.nav-footer .social-links a:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-5px);
}

/* 漂浮导航 */
.floating-nav {
  position: fixed;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  z-index: 1000;
  background-color: var(--light-bg);
  border-radius: 30px;
  padding: 1rem 0.5rem;
  box-shadow: var(--shadow);
}

.floating-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.floating-nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--card-bg);
  color: var(--text-light);
  transition: var(--transition);
}

.floating-nav a:hover,
.floating-nav a.active {
  background-image: var(--gradient-primary);
  color: white;
  transform: scale(1.1);
}

/* 右侧浮动导航样式 */
.floating-nav {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.floating-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-nav a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: var(--text-color);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-nav a:hover, .floating-nav a.active {
    background-color: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
    border-color: var(--primary-color);
}

/* 添加悬停提示 */
.floating-nav .tooltip {
    position: absolute;
    right: 50px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.floating-nav a:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* 添加动画效果 */
.floating-nav a.active i {
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .floating-nav {
        right: 15px;
    }
    
    .floating-nav a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .floating-nav .tooltip {
        display: none; /* 在移动设备上隐藏提示 */
    }
}

/* 在深色背景上使导航更明显 */
.light-section .floating-nav a {
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--text-color);
}

/* 进入视图动画 */
.floating-nav ul li {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.5s ease;
}

.floating-nav.visible ul li {
    opacity: 1;
    transform: translateX(0);
}

.floating-nav ul li:nth-child(1) { transition-delay: 0.1s; }
.floating-nav ul li:nth-child(2) { transition-delay: 0.2s; }
.floating-nav ul li:nth-child(3) { transition-delay: 0.3s; }
.floating-nav ul li:nth-child(4) { transition-delay: 0.4s; }
.floating-nav ul li:nth-child(5) { transition-delay: 0.5s; }

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn i {
  margin-left: 0.5rem;
}

.primary-btn {
  background-image: var(--gradient-primary);
  color: white;
}

.primary-btn:hover {
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
  transform: translateY(-3px);
}

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

.outline-btn:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* 章节样式 */
.section {
  padding: 6rem 0;
}

.section:nth-child(odd) {
  background-color: var(--background-color);
}

.section:nth-child(even) {
  background-color: var(--light-bg);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  display: inline-block;
  background-image: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.highlight {
  color: var(--primary-color);
}

/* 英雄区域样式 */
.hero-section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 0;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.hero-text {
  max-width: 600px;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.hero-section h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  position: relative;
}

.hero-section .job-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-weight: 600;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  width: 500px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-shape {
  width: 400px;
  height: 400px;
  background-image: var(--gradient-primary);
  border-radius: var(--radius-lg);
  animation: float 6s ease-in-out infinite;
  position: relative;
  box-shadow: var(--shadow);
}

.hero-shape-dots {
  position: absolute;
  width: 400px;
  height: 400px;
  background-image: radial-gradient(circle, rgba(255,255,255,0.1) 3px, transparent 3px);
  background-size: 30px 30px;
  border-radius: var(--radius-lg);
  animation: float 6s ease-in-out infinite reverse;
  animation-delay: -3s;
  z-index: 1;
}

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

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid var(--text-light);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 10px;
  background-color: var(--text-light);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 1.5s ease-in-out infinite;
}

.arrow span {
  display: block;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--text-light);
  border-bottom: 2px solid var(--text-light);
  transform: rotate(45deg);
  animation: arrow 1.5s ease-in-out infinite;
}

/* 关于部分样式 */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
  padding-right: 30px;
  padding-bottom: 30px;
}

.image-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-frame:before {
  content: '';
  position: absolute;
  top: -15px;
  right: -15px;
  width: 80%;
  height: 80%;
  border: 4px solid var(--primary-color);
  border-radius: var(--radius-md);
  z-index: -1;
}

.image-placeholder {
  overflow: hidden;
  border-radius: var(--radius-md);
  position: relative;
}

.image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.image-placeholder:hover img {
  transform: scale(1.1);
}

.experience-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background-image: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  box-shadow: var(--shadow);
}

.experience-badge .number {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.experience-badge .text {
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 500;
}

.about-text p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  font-size: 1.05rem;
}

.about-details {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-details ul li {
  margin-bottom: 0.8rem;
  color: var(--text-light);
}

.about-details ul li span {
  font-weight: 600;
  color: var(--text-lighter);
  margin-right: 0.5rem;
}

/* 技能部分样式 */
.skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.skill-category h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--text-lighter);
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.skill-item {
  width: 100%;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.skill-name {
  color: var(--text-light);
  font-weight: 500;
}

.skill-percentage {
  color: var(--primary-color);
  font-weight: 600;
}

.skill-progress {
  width: 100%;
  height: 10px;
  background-color: var(--background-color);
  border-radius: 5px;
  overflow: hidden;
}

.skill-bar {
  height: 100%;
  background-image: var(--gradient-primary);
  border-radius: 5px;
  width: 0;
  transition: width 1.5s ease;
}

.tech-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

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

.tech-icon i {
  font-size: 2.5rem;
  color: var(--text-light);
  transition: var(--transition);
}

.tech-icon:hover i {
  color: var(--primary-color);
  transform: translateY(-5px);
}

.tech-icon span {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* 项目部分样式 */
.projects-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  background-color: var(--card-bg);
  color: var(--text-light);
  transition: var(--transition);
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background-image: var(--gradient-primary);
  color: white;
}

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

.project-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

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

.project-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  transition: var(--transition);
  transform: translateY(-20px);
  opacity: 0;
}

.project-card:hover .project-link {
  transform: translateY(0);
  opacity: 1;
}

.project-card:hover .project-link:nth-child(1) {
  transition-delay: 0.1s;
}

.project-card:hover .project-link:nth-child(2) {
  transition-delay: 0.2s;
}

.project-link:hover {
  background-color: white;
  color: var(--primary-color);
}

.project-info {
  padding: 1.5rem;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.project-tags span {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  background-color: rgba(108, 99, 255, 0.1);
  color: var(--primary-color);
  font-size: 0.8rem;
}

.project-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.project-description {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.projects-more {
  text-align: center;
}

/* 联系部分样式 */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contact-card {
  background-color: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  transition: var(--transition);
}

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

.contact-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-image: var(--gradient-primary);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
}

.contact-card-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-card-content p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.contact-link {
  color: var(--primary-color);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.contact-link:hover {
  text-decoration: underline;
}

.social-media h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--card-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-light);
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-5px);
}

.contact-form {
  padding: 2rem;
  background-color: var(--card-bg);
  border-radius: var(--radius-md);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  background-color: var(--background-color);
  color: var(--text-color);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
}

.submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* 页脚样式 */
footer {
  background-color: var(--darker-bg);
  padding: 4rem 0 0;
  position: relative;
}

.footer-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.footer-logo h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.footer-logo p {
  color: var(--text-light);
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-lighter);
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-links ul li a {
  color: var(--text-light);
}

.footer-links ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact p {
  color: var(--text-light);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.footer-contact p i {
  margin-right: 1rem;
  color: var(--primary-color);
}

.footer-bottom {
  margin-top: 3rem;
  padding: 1.5rem 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.copyright p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer-bottom-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-bottom-links a {
  color: var(--text-light);
  font-size: 0.9rem;
}

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

.scroll-top {
  position: absolute;
  bottom: 30px;
  right: 30px;
}

.scroll-top a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  background-image: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  transition: var(--transition);
}

.scroll-top a:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
}

/* 粒子容器样式 */
.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .hero-image {
    width: 400px;
    height: 400px;
  }
  
  .hero-shape,
  .hero-shape-dots {
    width: 350px;
    height: 350px;
  }
  
  .hero-section h1 {
    font-size: 3.5rem;
  }
  
  .hero-section .job-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 992px) {
  .section {
    padding: 4rem 0;
  }
  
  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
    gap: 2rem;
  }
  
  .hero-image {
    width: 300px;
    height: 300px;
  }
  
  .hero-shape,
  .hero-shape-dots {
    width: 250px;
    height: 250px;
  }
  
  .hero-section h1 {
    font-size: 3rem;
  }
  
  .hero-section .job-title {
    font-size: 1.4rem;
  }
  
  .hero-description {
    margin: 0 auto 2rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .floating-nav {
    display: none;
  }
  
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 3rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .fullscreen-nav ul li a {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-section .job-title {
    font-size: 1.2rem;
  }
  
  .hero-image {
    width: 250px;
    height: 250px;
  }
  
  .hero-shape,
  .hero-shape-dots {
    width: 200px;
    height: 200px;
  }
  
  .about-details {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-contact p {
    justify-content: center;
  }
  
  .social-icons {
    justify-content: center;
  }
}

/* 头像样式 */
.profile-avatar {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    animation: avatar-morph 8s ease-in-out infinite;
    border: 4px solid rgba(255, 255, 255, 0.2);
    z-index: 5;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-avatar:hover img {
    transform: scale(1.05);
}

.avatar-bg-effect {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: linear-gradient(45deg, 
        var(--primary-color) 0%, 
        transparent 50%, 
        var(--secondary-color) 100%);
    animation: rotate-bg 10s linear infinite;
    z-index: -1;
    opacity: 0.3;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

@keyframes avatar-morph {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
    }
    50% {
        border-radius: 30% 70% 50% 50% / 50% 50% 70% 30%;
    }
    75% {
        border-radius: 50% 50% 30% 70% / 70% 30% 50% 50%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

@keyframes rotate-bg {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 添加到您的main.css文件中 */

/* 政策页面样式 */
.policy-section {
    padding: 80px 0;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 40px;
    box-shadow: var(--shadow);
}

.last-updated {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    text-align: right;
}

.policy-block {
    margin-bottom: 40px;
}

.policy-block:last-child {
    margin-bottom: 0;
}

.policy-block h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.policy-block h3 {
    color: var(--text-color);
    margin: 25px 0 15px;
    font-size: 1.4rem;
}

.policy-block p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.policy-block ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.policy-block ul li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.policy-block a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.policy-block a:hover {
    text-decoration: underline;
    color: var(--secondary-color);
}

/* 面包屑导航 */
.breadcrumbs {
    display: flex;
    align-items: center;
    margin-top: 10px;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs span {
    color: var(--text-muted);
    margin: 0 10px;
}

/* 页面头部样式 */
.page-header {
    background: var(--header-bg);
    color: white;
    padding: 100px 0 50px;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.page-header .highlight {
    color: var(--accent-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .policy-content {
        padding: 25px;
    }
    
    .policy-block h2 {
        font-size: 1.6rem;
    }
    
    .policy-block h3 {
        font-size: 1.3rem;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}