/* 全局样式重置与定义 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

:root {
  --primary-color: #ff5722;
  --secondary-color: #2196f3;
  --accent-color: #FFB74D;
  --dark-color: #333;
  --light-color: #f5f5f5;
  --text-color: #444;
  --text-light: #666;
  --bg-gradient-1: linear-gradient(135deg, #ff5722, #ff9800);
  --bg-gradient-2: linear-gradient(45deg, #2196f3, #03a9f4);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-md: 0 5px 15px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
  --animation-normal: 0.3s ease;
  --animation-slow: 0.5s ease;
  --border-radius-sm: 5px;
  --border-radius-md: 10px;
  --border-radius-lg: 20px;
  --border-radius-full: 50%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--primary-color) var(--light-color);
}

body {
  font-family: 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  color: var(--text-color);
  background: var(--light-color);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--light-color);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #e64a19;
}

/* 自定义光标 */
.cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--primary-color);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease;
  z-index: 9999;
  mix-blend-mode: difference;
}

.cursor-follower {
  position: fixed;
  width: 30px;
  height: 30px;
  border: 2px solid rgba(255, 87, 34, 0.5);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
  z-index: 9998;
}

/* 导航栏样式 */
.navbar {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
  box-shadow: var(--shadow-md);
  transition: all var(--animation-normal);
}

.navbar.scrolled {
  padding: 0.7rem 2rem;
  background-color: rgba(255,255,255,0.95);
  box-shadow: var(--shadow-lg);
}

.logo a {
  font-size: 1.8rem;
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--animation-normal);
}

.logo a:hover {
  transform: scale(1.05);
}

.logo a i {
  color: var(--primary-color);
  font-size: 1.4rem;
}

.nav-links ul {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin-left: 2rem;
  position: relative;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color var(--animation-normal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width var(--animation-normal);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-toggle span {
  width: 30px;
  height: 3px;
  background: var(--primary-color);
  margin: 3px 0;
  transition: all var(--animation-normal);
}

/* 粒子背景 */
.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.5;
}

/* 英雄区域样式 */
.hero {
  position: relative;
  overflow: hidden;
  height: 100vh;
  margin-top: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: var(--bg-gradient-1);
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero-bg-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-images::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}

.hero-bg-images img {
  position: absolute;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  animation: fadeMount 1s ease forwards, floatAnimation 5s ease-in-out infinite;
  filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}

@keyframes fadeMount {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 0.7; transform: translateY(0); }
}

@keyframes floatAnimation {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* 保留原有的图片位置样式 */
.hero-img-1 { width: 120px; top: 10%; left: 5%; transform: rotate(-5deg); animation-delay: 0.05s; animation-duration: 6s; }
.hero-img-2 { width: 140px; top: 45%; left: 10%; transform: rotate(10deg); animation-delay: 0.1s; animation-duration: 7s; }
.hero-img-3 { width: 110px; top: 75%; left: 8%; transform: rotate(-15deg); animation-delay: 0.15s; animation-duration: 5s; }
.hero-img-4 { width: 180px; top: 20%; left: 30%; transform: rotate(5deg); animation-delay: 0.2s; animation-duration: 8s; }
.hero-img-5 { width: 160px; top: 60%; left: 25%; transform: rotate(-8deg); animation-delay: 0.25s; animation-duration: 6.5s; }
.hero-img-6 { width: 110px; top: 35%; left: 40%; transform: rotate(15deg); animation-delay: 0.3s; animation-duration: 5.5s; }
.hero-img-7 { width: 170px; top: 80%; left: 35%; transform: rotate(-12deg); animation-delay: 0.35s; animation-duration: 7.5s; }
.hero-img-8 { width: 190px; top: 10%; right: 25%; transform: rotate(20deg); animation-delay: 0.4s; animation-duration: 6.2s; }
.hero-img-9 { width: 120px; top: 45%; right: 28%; transform: rotate(-10deg); animation-delay: 0.45s; animation-duration: 5.8s; }
.hero-img-10 { width: 140px; top: 75%; right: 30%; transform: rotate(15deg); animation-delay: 0.5s; animation-duration: 7.2s; }
.hero-img-11 { width: 150px; top: 15%; right: 10%; transform: rotate(-5deg); animation-delay: 0.55s; animation-duration: 6.7s; }
.hero-img-12 { width: 100px; top: 40%; right: 15%; transform: rotate(12deg); animation-delay: 0.6s; animation-duration: 5.3s; }
.hero-img-13 { width: 170px; top: 60%; right: 5%; transform: rotate(-8deg); animation-delay: 0.65s; animation-duration: 7.7s; }
.hero-img-14 { width: 130px; top: 25%; right: 40%; transform: rotate(8deg); animation-delay: 0.7s; animation-duration: 6.3s; }
.hero-img-15 { width: 120px; top: 70%; right: 45%; transform: rotate(-15deg); animation-delay: 0.75s; animation-duration: 5.7s; }
.hero-img-16 { width: 110px; top: 85%; right: 20%; transform: rotate(10deg); animation-delay: 0.8s; animation-duration: 6.8s; }
.hero-img-17 { width: 200px; top: 55%; left: 50%; transform: rotate(-18deg); animation-delay: 0.85s; animation-duration: 7.3s; }
.hero-img-18 { width: 150px; top: 5%; right: 0%; transform: rotate(-12deg); animation-delay: 0.9s; animation-duration: 6.1s; }
.hero-img-19 { width: 180px; top: 88%; left: 60%; transform: rotate(15deg); animation-delay: 0.95s; animation-duration: 7.4s; }
.hero-img-20 { width: 140px; top: 30%; right: 60%; transform: rotate(10deg); animation-delay: 1s; animation-duration: 6.5s; }
.hero-img-21 { width: 160px; top: 75%; left: 70%; transform: rotate(-16deg); animation-delay: 1.05s; animation-duration: 5.9s; }
.hero-img-22 { width: 110px; top: 20%; left: 80%; transform: rotate(8deg); animation-delay: 1.1s; animation-duration: 7.1s; }
.hero-img-23 { width: 140px; top: 5%; left: 20%; transform: rotate(-10deg); animation-delay: 1.15s; animation-duration: 6.4s; }
.hero-img-24 { width: 160px; top: 35%; left: 55%; transform: rotate(6deg); animation-delay: 1.2s; animation-duration: 5.6s; }
.hero-img-25 { width: 130px; top: 70%; left: 15%; transform: rotate(-12deg); animation-delay: 1.25s; animation-duration: 7.8s; }
.hero-img-28 { width: 150px; top: 60%; left: 65%; transform: rotate(10deg); animation-delay: 1.4s; animation-duration: 6.9s; }
.hero-img-29 { width: 160px; top: 20%; right: 55%; transform: rotate(-5deg); animation-delay: 1.45s; animation-duration: 5.4s; }
.hero-img-30 { width: 130px; top: 30%; right: 50%; transform: rotate(12deg); animation-delay: 1.5s; animation-duration: 7.6s; }
.hero-img-31 { width: 120px; top: 75%; right: 35%; transform: rotate(-8deg); animation-delay: 1.55s; animation-duration: 6.2s; }
.hero-img-32 { width: 110px; top: 85%; right: 75%; transform: rotate(15deg); animation-delay: 1.6s; animation-duration: 5.8s; }
.hero-img-33 { width: 120px; top: 55%; right: 70%; transform: rotate(-10deg); animation-delay: 1.65s; animation-duration: 7.3s; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
  backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  transform: translateY(0);
  transition: all var(--animation-slow);
}

.hero-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* 故障文字效果 */
.glitch-container {
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.glitch {
  font-size: 3.5rem;
  font-weight: 800;
  text-transform: uppercase;
  position: relative;
  text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
               -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
               0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  animation: glitch 2s infinite;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch::before {
  left: 2px;
  text-shadow: -2px 0 #ff00c1;
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@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);
  }
}

@keyframes glitch-anim {
  0% {
    clip: rect(16px, 9999px, 88px, 0);
  }
  5% {
    clip: rect(36px, 9999px, 5px, 0);
  }
  10% {
    clip: rect(85px, 9999px, 77px, 0);
  }
  15% {
    clip: rect(115px, 9999px, 34px, 0);
  }
  20% {
    clip: rect(26px, 9999px, 22px, 0);
  }
  25% {
    clip: rect(73px, 9999px, 92px, 0);
  }
  30% {
    clip: rect(74px, 9999px, 46px, 0);
  }
  35% {
    clip: rect(27px, 9999px, 30px, 0);
  }
  40% {
    clip: rect(89px, 9999px, 14px, 0);
  }
  45% {
    clip: rect(5px, 9999px, 68px, 0);
  }
  50% {
    clip: rect(17px, 9999px, 75px, 0);
  }
  55% {
    clip: rect(37px, 9999px, 49px, 0);
  }
  60% {
    clip: rect(2px, 9999px, 5px, 0);
  }
  65% {
    clip: rect(119px, 9999px, 41px, 0);
  }
  70% {
    clip: rect(65px, 9999px, 64px, 0);
  }
  75% {
    clip: rect(92px, 9999px, 35px, 0);
  }
  80% {
    clip: rect(118px, 9999px, 110px, 0);
  }
  85% {
    clip: rect(100px, 9999px, 75px, 0);
  }
  90% {
    clip: rect(59px, 9999px, 86px, 0);
  }
  95% {
    clip: rect(27px, 9999px, 23px, 0);
  }
  100% {
    clip: rect(94px, 9999px, 119px, 0);
  }
}

@keyframes glitch-anim2 {
  0% {
    clip: rect(32px, 9999px, 91px, 0);
  }
  5% {
    clip: rect(8px, 9999px, 98px, 0);
  }
  10% {
    clip: rect(18px, 9999px, 17px, 0);
  }
  15% {
    clip: rect(115px, 9999px, 61px, 0);
  }
  20% {
    clip: rect(60px, 9999px, 25px, 0);
  }
  25% {
    clip: rect(105px, 9999px, 1px, 0);
  }
  30% {
    clip: rect(86px, 9999px, 10px, 0);
  }
  35% {
    clip: rect(117px, 9999px, 108px, 0);
  }
  40% {
    clip: rect(14px, 9999px, 63px, 0);
  }
  45% {
    clip: rect(66px, 9999px, 24px, 0);
  }
  50% {
    clip: rect(116px, 9999px, 103px, 0);
  }
  55% {
    clip: rect(89px, 9999px, 24px, 0);
  }
  60% {
    clip: rect(22px, 9999px, 67px, 0);
  }
  65% {
    clip: rect(28px, 9999px, 31px, 0);
  }
  70% {
    clip: rect(45px, 9999px, 72px, 0);
  }
  75% {
    clip: rect(70px, 9999px, 48px, 0);
  }
  80% {
    clip: rect(39px, 9999px, 84px, 0);
  }
  85% {
    clip: rect(14px, 9999px, 33px, 0);
  }
  90% {
    clip: rect(97px, 9999px, 35px, 0);
  }
  95% {
    clip: rect(74px, 9999px, 18px, 0);
  }
  100% {
    clip: rect(96px, 9999px, 117px, 0);
  }
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  line-height: 1.5;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
}

.highlight {
  position: relative;
  padding: 0 5px;
  color: #fff;
  font-weight: 700;
  display: inline-block;
}

.highlight:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-color);
  border-radius: 3px;
  z-index: -1;
  transform: skewX(-5deg);
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0% { transform: skewX(-5deg) scale(1); }
  50% { transform: skewX(-5deg) scale(1.1); }
  100% { transform: skewX(-5deg) scale(1); }
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(to right, var(--primary-color), #ff784e);
  border: none;
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  transition: all var(--animation-normal);
  box-shadow: 0 10px 20px rgba(255, 87, 34, 0.4);
  z-index: 1;
}

.btn-hero:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #ff784e, var(--primary-color));
  z-index: -1;
  transition: opacity var(--animation-normal);
  opacity: 0;
}

.btn-hero:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 15px 30px rgba(255, 87, 34, 0.6);
}

.btn-hero:hover:before {
  opacity: 1;
}

.btn-hero .btn-text {
  position: relative;
  z-index: 2;
}

.btn-hero .btn-icon {
  position: relative;
  z-index: 2;
  transition: transform var(--animation-normal);
}

.btn-hero:hover .btn-icon {
  transform: translateX(5px);
}

/* 滚动指示器 */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  transition: opacity var(--animation-normal);
  opacity: 0.8;
  z-index: 2;
}

.scroll-indicator:hover {
  opacity: 1;
}

.mouse {
  width: 30px;
  height: 50px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  position: relative;
  margin-bottom: 10px;
}

.wheel {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 10px;
  animation: wheel 2s infinite;
}

@keyframes wheel {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
}

.arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.arrow span {
  display: block;
  width: 20px;
  height: 20px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.7);
  border-right: 2px solid rgba(255, 255, 255, 0.7);
  transform: rotate(45deg);
  animation: arrow 2s infinite;
}

.arrow span:nth-child(2) {
  animation-delay: 0.2s;
}

.arrow span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes arrow {
  0% {
    opacity: 0;
    transform: rotate(45deg) translate(-5px, -5px);
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) translate(5px, 5px);
  }
}

/* 博客部分样式 */
.blog-section {
  max-width: 1200px;
  margin: 5rem auto 4rem;
  padding: 0 2rem;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0.5rem 0;
}

.section-divider span {
  height: 2px;
  width: 50px;
  background: var(--primary-color);
}

.section-divider i {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin: 0 1rem;
}

.blog-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.blog-post {
  background-color: #fff;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--animation-normal);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  transform: translateY(0);
}

.blog-post:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.blog-post-img {
  position: relative;
  overflow: hidden;
}

.blog-post-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-post:hover .blog-post-img img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.blog-post-category {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-color);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: 0 5px 10px rgba(255, 87, 34, 0.3);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-post-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-post h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
  transition: color var(--animation-normal);
}

.blog-post:hover h3 {
  color: var(--primary-color);
}

.blog-post-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 0.9rem;
}

.blog-post-meta span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.blog-post p {
  margin-bottom: 1.5rem;
  color: var(--text-color);
  line-height: 1.6;
  flex-grow: 1;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--animation-normal);
  position: relative;
  padding: 0.3rem 0;
}

.read-more::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--animation-normal);
}

.read-more:hover {
  color: #e64a19;
}

.read-more:hover::after {
  width: 100%;
}

.read-more i {
  transition: transform var(--animation-normal);
}

.read-more:hover i {
  transform: translateX(5px);
}

.blog-navigator {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.blog-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--primary-color);
  text-decoration: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  transition: all var(--animation-normal);
  border: 2px solid transparent;
}

.blog-nav-btn:hover {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 10px 20px rgba(255, 87, 34, 0.3);
}

/* 关于我部分样式 */
.about-section {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 3rem 2rem;
  position: relative;
  background-color: #fff;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: center;
}

.avatar-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.avatar-protect {
  position: relative;
  display: inline-block;
  border-radius: 50%;
  cursor: not-allowed;
}

.avatar-aura {
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--primary-color) 100%);
  z-index: -1;
  opacity: 0.8;
  animation: rotate-halo 8s linear infinite, pulse-halo 3s ease-in-out infinite;
}

@keyframes rotate-halo {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse-halo {
  0% { opacity: 0.6; transform: scale(0.95); }
  50% { opacity: 0.8; transform: scale(1.05); }
  100% { opacity: 0.6; transform: scale(0.95); }
}

.avatar-protect img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #fff;
  box-shadow: var(--shadow-md);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.avatar-protect img.avatar-glowing {
  animation: avatar-pulse 3s ease-in-out infinite;
}

@keyframes avatar-pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 87, 34, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(255, 87, 34, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 87, 34, 0); }
}

.avatar-protect img {
  position: relative;
  z-index: 1;  /* 确保头像在最顶层 */
}

.avatar-protect::before,
.avatar-protect::after {
  content: '';
  position: absolute;
  inset: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  border-radius: 50%;
  margin: 6px;
  background: #fff;
  z-index: 0;  /* 调整到头像之下 */
}



.avatar-protect::before {
  background: conic-gradient(
    transparent 0deg,
    rgba(255, 87, 34, 0.8) 30deg,
    rgba(33, 150, 243, 0.8) 60deg,
    rgba(255, 87, 34, 0.8) 90deg,
    rgba(33, 150, 243, 0.8) 120deg,
    rgba(255, 87, 34, 0.8) 150deg,
    rgba(33, 150, 243, 0.8) 180deg,
    rgba(255, 87, 34, 0.8) 210deg,
    rgba(33, 150, 243, 0.8) 240deg,
    rgba(255, 87, 34, 0.8) 270deg,
    rgba(33, 150, 243, 0.8) 300deg,
    rgba(255, 87, 34, 0.8) 330deg,
    transparent 360deg
  );
  animation: rotate 10s linear infinite;
}

.avatar-protect::after {
  background: #fff;
  margin: 6px;
  z-index: 0;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-text-inner {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  border-left: 4px solid var(--primary-color);
}

.about-text-inner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 87, 34, 0.05), rgba(33, 150, 243, 0.05));
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.about-text-inner:hover::before {
  transform: translateX(0);
}

.neon-text {
  position: relative;
  font-size: 1.1rem;
  line-height: 1.8;
  letter-spacing: 0.5px;
  text-shadow: 0 0 5px rgba(255, 87, 34, 0.3);
  padding: 0;
}

.neon-text i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.about-skills {
  padding: 2rem;
  background-color: #fff;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
}

.skill {
  margin-bottom: 1.5rem;
}

.skill:last-child {
  margin-bottom: 0;
}

.skill-name {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--dark-color);
}

.skill-bar {
  height: 8px;
  background-color: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
}

.skill-level {
  height: 100%;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 4px;
  position: relative;
  transition: width 1.5s cubic-bezier(0.11, 0.44, 0.03, 0.98);
}

.skill-level::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0) 0%, 
    rgba(255, 255, 255, 0.3) 50%, 
    rgba(255, 255, 255, 0) 100%);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* 联系我部分样式 */
.contact-section {
  max-width: 1200px;
  margin: 5rem auto;
  padding: 0 2rem;
  position: relative;
}

.contact-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact-content p {
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 2.5rem;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-method {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 280px;
  padding: 2rem;
  background: #fff;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  transition: all var(--animation-normal);
}

.contact-method:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.contact-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gradient-1);
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 0 10px 20px rgba(255, 87, 34, 0.3);
}

.contact-icon i {
  font-size: 2rem;
  color: #fff;
}

.contact-info h3 {
  font-size: 1.2rem;
  color: var(--dark-color);
  margin-bottom: 0.5rem;
}

.contact-info a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--animation-normal);
}

.contact-info a:hover {
  color: #e64a19;
  text-decoration: underline;
}

/* 页脚样式 */
.footer {
  background-color: #fff;
  position: relative;
  padding-top: 4rem;
}

.footer-wave {
  position: absolute;
  top: -120px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: -1;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.footer-logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #f5f5f5;
  color: var(--primary-color);
  border-radius: 50%;
  text-decoration: none;
  transition: all var(--animation-normal);
}

.social-icon:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(255, 87, 34, 0.3);
}

.footer-copyright {
  text-align: center;
  color: var(--text-light);
}

.footer-motto {
  margin-top: 0.5rem;
  font-style: italic;
  font-size: 0.9rem;
}

/* 悬浮元素 */
.ehunidle-container {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 150px;
  height: auto;
  z-index: 98;
}

.ehunidle-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  transition: all var(--animation-normal);
  cursor: pointer;
}

.ehunidle-video:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.ehunidle-tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-color);
  color: #fff;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  opacity: 0;
  transition: all var(--animation-normal);
  pointer-events: none;
  white-space: nowrap;
}

.ehunidle-tooltip::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px 8px 0;
  border-style: solid;
  border-color: var(--primary-color) transparent transparent;
}

.ehunidle-container:hover .ehunidle-tooltip {
  opacity: 1;
  top: -40px;
}

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 180px;
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--animation-normal);
  z-index: 97;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-color);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 87, 34, 0.3);
}

/* AOS动画覆盖样式 */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .blog-list {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .about-text-inner {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
  }
  
  .logo a {
    font-size: 1.5rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .blog-list {
    grid-template-columns: 1fr;
  }
  
  .contact-methods {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-content {
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .section-header h2 {
    font-size: 2rem;
  }
  
  .hero-content {
    padding: 1.5rem;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .btn-hero {
    padding: 0.8rem 1.8rem;
  }
  
  .avatar-protect img {
    width: 200px;
    height: 200px;
  }
  
  .ehunidle-container {
    width: 120px;
  }
  
  .back-to-top {
    right: 20px;
    bottom: 160px;
    width: 40px;
    height: 40px;
  }
}
