:root {
  --primary-color: #333;
  --secondary-color: #555;
  --tertiary-color: #777;
  --quaternary-color: #999;
  --text-color: white;
  --background-image: url('photo-1575058752200-a9d6c0f41945.jpg');
  --accent-color: #00e5ff;
  --accent-color-2: #ff00e5;
  --dark-bg: #121212;
  --header-height: 100vh;
}

body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-image: var(--background-image);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  overflow-x: hidden;
}

/* 新的header样式 */
.new-header {
  height: var(--header-height);
  background-color: var(--dark-bg);
  color: var(--text-color);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* 导航栏样式 */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  position: relative;
  z-index: 10;
  transition: all 0.3s ease;
}

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

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-color);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(45deg, var(--accent-color), var(--accent-color-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.logo-text::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-color-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.logo:hover .logo-text::after {
  transform: scaleX(1);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1rem;
  position: relative;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link i {
  font-size: 0.9rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color), var(--accent-color-2));
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-color);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--accent-color);
  transition: all 0.3s ease;
}

/* Header内容样式 */
.header-content {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
  position: relative;
  z-index: 5;
}

.header-left {
  width: 50%;
  padding-right: 40px;
}

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

.glitch-text {
  font-size: 4rem;
  font-weight: bold;
  margin: 0 0 20px 0;
  position: relative;
  color: var(--text-color);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.5), 0 0 20px rgba(0, 229, 255, 0.3);
  animation: textGlow 2s ease-in-out infinite alternate;
}

.glitch-text::before, .glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.glitch-text::before {
  left: 2px;
  color: rgba(255, 0, 229, 0.8);
  clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
  animation: glitchTop 2s infinite linear alternate-reverse;
}

.glitch-text::after {
  left: -2px;
  color: rgba(0, 229, 255, 0.8);
  clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
  animation: glitchBottom 2.2s infinite linear alternate-reverse;
}

@keyframes glitchTop {
  0% {
    transform: translate(0);
  }
  10% {
    transform: translate(-2px, -2px);
  }
  20% {
    transform: translate(2px, 2px);
  }
  30% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(2px, -2px);
  }
  50% {
    transform: translate(-2px, 2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  70% {
    transform: translate(-2px, -2px);
  }
  80% {
    transform: translate(2px, 2px);
  }
  90% {
    transform: translate(-2px, -2px);
  }
  100% {
    transform: translate(0);
  }
}

@keyframes glitchBottom {
  0% {
    transform: translate(0);
  }
  10% {
    transform: translate(2px, 2px);
  }
  20% {
    transform: translate(-2px, -2px);
  }
  30% {
    transform: translate(2px, -2px);
  }
  40% {
    transform: translate(-2px, 2px);
  }
  50% {
    transform: translate(2px, -2px);
  }
  60% {
    transform: translate(-2px, -2px);
  }
  70% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(-2px, -2px);
  }
  90% {
    transform: translate(2px, 2px);
  }
  100% {
    transform: translate(0);
  }
}

.typing-container {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  height: 2rem;
}

.static-text {
  margin-right: 10px;
}

.typing-text {
  position: relative;
  color: var(--accent-color);
  font-weight: bold;
}

.typing-text::after {
  content: '|';
  position: absolute;
  right: -8px;
  animation: blink 0.8s infinite;
}

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

.intro-description {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #ddd;
}

.cta-buttons {
  display: flex;
  gap: 20px;
}

.cta-primary, .cta-secondary {
  padding: 12px 25px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-primary::before, .cta-secondary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, var(--accent-color), var(--accent-color-2));
  z-index: -1;
  transition: opacity 0.3s ease;
}

.cta-primary {
  background: var(--dark-bg);
  color: var(--text-color);
}

.cta-primary::before {
  opacity: 1;
}

.cta-primary:hover::before {
  animation: gradientShift 2s linear infinite;
}

.cta-secondary {
  background: transparent;
  border: 2px solid var(--accent-color);
  color: var(--text-color);
}

.cta-secondary::before {
  opacity: 0;
}

.cta-secondary:hover::before {
  opacity: 0.2;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.header-right {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-image-container {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto;
}

.profile-image-wrap {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  padding: 10px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.profile-image {
  width: 90%;
  height: 90%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-color);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
  transition: transform 0.3s ease;
}

.profile-image-wrap:hover .profile-image {
  transform: scale(1.05);
}

.floating-tech-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.tech-icon {
  position: absolute;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 18, 18, 0.8);
  border-radius: 50%;
  color: var(--accent-color);
  animation: floatAround 5s infinite ease-in-out;
  animation-delay: var(--delay);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.tech-icon:nth-child(1) {
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.tech-icon:nth-child(2) {
  top: 30%;
  right: -15px;
}

.tech-icon:nth-child(3) {
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.tech-icon:nth-child(4) {
  top: 30%;
  left: -15px;
}

.tech-icon:nth-child(5) {
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
}

@keyframes floatAround {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(10px, -10px);
  }
  50% {
    transform: translate(0, 15px);
  }
  75% {
    transform: translate(-10px, -5px);
  }
}

.header-bottom {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 20px 50px;
  position: relative;
  z-index: 6;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  color: var(--text-color);
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

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

.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  animation: bounce 2s infinite;
}

.scroll-indicator span {
  font-size: 0.8rem;
  opacity: 0.8;
}

.scroll-indicator i {
  font-size: 1.2rem;
  color: var(--accent-color);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.cyber-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0,229,255,0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,229,255,0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  animation: gridMove 20s linear infinite;
  z-index: 1;
}

.cyber-circles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(255,0,229,0.1) 0%, transparent 20%),
    radial-gradient(circle at 90% 80%, rgba(0,229,255,0.1) 0%, transparent 20%),
    radial-gradient(circle at 50% 50%, rgba(255,0,229,0.05) 0%, transparent 50%);
  z-index: 1;
}

/* 响应式设计 */
@media screen and (max-width: 1200px) {
  .header-content {
    padding: 0 30px;
  }
  
  .glitch-text {
    font-size: 3.5rem;
  }
}

@media screen and (max-width: 992px) {
  .header-content {
    flex-direction: column-reverse;
    padding-top: 30px;
    padding-bottom: 40px;
  }
  
  .header-left, .header-right {
    width: 100%;
    padding: 0;
  }
  
  .header-right {
    margin-bottom: 40px;
  }
  
  .profile-image-container {
    width: 250px;
    height: 250px;
  }
  
  .glitch-text {
    font-size: 3rem;
    text-align: center;
  }
  
  .typing-container {
    justify-content: center;
  }
  
  .intro-description {
    text-align: center;
  }
  
  .cta-buttons {
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  .new-header {
    height: auto;
    min-height: 100vh;
  }

  .nav-container {
    padding: 15px 20px;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    gap: 30px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 20;
  }
  
  .nav-links.active {
    transform: translateX(0);
  }
  
  .nav-link {
    font-size: 1.2rem;
  }
  
  .mobile-menu-btn {
    display: flex;
    z-index: 30;
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .header-content {
    padding: 0 20px;
    padding-bottom: 80px;
  }
  
  .header-bottom {
    padding: 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    justify-content: center;
  }
  
  .glitch-text {
    font-size: 2.5rem;
  }
  
  .typing-container {
    font-size: 1.2rem;
    height: 1.8rem;
  }
  
  .intro-description {
    font-size: 1rem;
    padding: 0 10px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .cta-primary, .cta-secondary {
    width: 100%;
    padding: 12px 0;
    text-align: center;
  }
  
  .social-icons {
    width: 100%;
    justify-content: center;
  }
  
  .icon-fountain-container {
    height: 80px;
  }
  
  .tech-icon {
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
  }
  
  @keyframes fountainUp {
    0% {
      transform: translateY(0) translateX(0) scale(0.5);
      opacity: 0.7;
    }
    100% {
      transform: translateY(-65px) translateX(var(--translateX, 0)) scale(0.9);
      opacity: 0;
    }
  }
  
  .fountain-guide {
    bottom: 70px;
  }
}

@media screen and (max-width: 480px) {
  .profile-image-container {
    width: 200px;
    height: 200px;
  }
  
  .tech-icon {
    font-size: 1rem;
    width: 35px;
    height: 35px;
  }
  
  .glitch-text {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  .typing-container {
    font-size: 1rem;
    margin-bottom: 15px;
    height: 1.5rem;
  }
  
  .intro-description {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  
  .header-content {
    padding-bottom: 100px;
  }
  
  .header-bottom {
    flex-direction: column;
    gap: 20px;
  }
  
  .social-icon {
    font-size: 1.3rem;
  }
  
  .logo-img {
    width: 35px;
    height: 35px;
  }
  
  .logo-text {
    font-size: 1.3rem;
  }
  
  .fountain-guide {
    bottom: 80px;
  }
  
  .guide-text {
    font-size: 0.8rem;
  }
  
  .guide-arrow {
    font-size: 1.3rem;
  }
}

/* 其他样式保持不变 */
.profile-card {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  padding: 20px;
  display: inline-block;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: 
    0 0 20px rgba(0, 255, 255, 0.5),
    0 0 40px rgba(255, 0, 255, 0.3);
  position: relative;
  z-index: 2;
  border: 2px solid transparent;
  animation: cyberBorder 2s linear infinite;
}

.profile-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, 
    rgba(0,255,255,0.5),
    rgba(255,0,255,0.5),
    rgba(0,255,255,0.5)
  );
  border-radius: 10px;
  z-index: -1;
  animation: borderGlow 2s linear infinite;
}

@keyframes cyberBorder {
  0% {
    border-image: linear-gradient(45deg, 
      rgba(0,255,255,0.5),
      rgba(255,0,255,0.5),
      rgba(0,255,255,0.5)
    ) 1;
  }
  50% {
    border-image: linear-gradient(45deg, 
      rgba(255,0,255,0.5),
      rgba(0,255,255,0.5),
      rgba(255,0,255,0.5)
    ) 1;
  }
  100% {
    border-image: linear-gradient(45deg, 
      rgba(0,255,255,0.5),
      rgba(255,0,255,0.5),
      rgba(0,255,255,0.5)
    ) 1;
  }
}

@keyframes borderGlow {
  0% {
    filter: hue-rotate(0deg);
  }
  100% {
    filter: hue-rotate(360deg);
  }
}

.profile-card img {
    margin: 0%;
    transform: translateY(-55px);
    padding-bottom: 0%;
}

.profile-card h1{
    transform: translateY(-15px);
    margin: 0%;
    padding-top: 0%;
}

.profile-picture {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
}

.profile-description {
  font-size: 1.2em;
  margin-top: 10px;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

h1 {
  font-size: 3em;
  margin-bottom: 10px;
  animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
  from {
    text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #e60073, 0 0 40px #e60073;
  }
  to {
    text-shadow: 0 0 20px #fff, 0 0 30px #ff4da6, 0 0 40px #ff4da6, 0 0 50px #ff4da6;
  }
}


@keyframes scaleText {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.skills-and-projects {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 30px;
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.background-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(120deg, 
      rgba(255,255,255,0.8) 0%,
      rgba(240,240,240,0.8) 50%,
      rgba(255,255,255,0.8) 100%
    );
  background-size: 200% 200%;
  animation: gentleWave 8s ease-in-out infinite;
  z-index: 1;
}

.background-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 50% 50%, 
      rgba(200,200,200,0.1) 0%,
      transparent 50%
    );
  animation: pulse 4s ease-in-out infinite;
  z-index: 1;
}

.skills-and-projects > * {
  position: relative;
  z-index: 2;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skills-and-projects > *:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.skills {
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 30px;
  text-align: center;
  animation: fadeInLeft 1s ease 1s both;
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  border-radius: 10px;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.skills ul {
  list-style-type: none;
  padding: 0;
}

.skills li {
  display: inline-block;
  margin: 10px;
  padding: 10px 20px;
  background-color: var(--secondary-color);
  border-radius: 5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.skills li::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: gentleShine 4s ease-in-out infinite;
}

@keyframes gentleShine {
  0% {
    left: -100%;
    opacity: 0;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    left: 100%;
    opacity: 0;
  }
}

.skills li:hover {
  background-color: var(--tertiary-color);
  box-shadow: 0 0 30px rgba(255,255,255,0.6);
}

.projects {
  background-color: white;
  padding: 30px;
  text-align: center;
  animation: fadeInRight 1s ease 1.5s both;
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  min-height: 300px;
}

.projects-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  width: 100%;
  height: 100%;
}

.carousel-container {
  display: flex;
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.5s ease;
}

.carousel-btn {
  position: absolute;
  top: 30%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  z-index: 1;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: rgba(0,0,0,0.8);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.project {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  padding: 15px;
  box-sizing: border-box;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  border: 2px solid transparent;
  opacity: 1;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

.project::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(0,0,0,0.05), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.project:hover::before {
  transform: translateX(100%);
}

.project:hover {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.project h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  transform: translateX(0);
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 1;
}

.project p {
  transform: translateX(0);
  transition: transform 0.5s ease, opacity 0.5s ease;
  opacity: 1;
}

.project.slide-out-left h3,
.project.slide-out-left p {
  transform: translateX(-100%);
  opacity: 0;
}

.project.slide-out-right h3,
.project.slide-out-right p {
  transform: translateX(100%);
  opacity: 0;
}

.project.slide-in-left h3,
.project.slide-in-left p {
  transform: translateX(100%);
  opacity: 0;
}

.project.slide-in-right h3,
.project.slide-in-right p {
  transform: translateX(-100%);
  opacity: 0;
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shadowChange {
  from {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  }
  to {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  }
}

@keyframes cyberGlow {
  0% {
    background-position: 0% 0%;
    filter: hue-rotate(0deg) brightness(1.2);
  }
  50% {
    background-position: 100% 100%;
    filter: hue-rotate(180deg) brightness(1.5);
  }
  100% {
    background-position: 0% 0%;
    filter: hue-rotate(360deg) brightness(1.2);
  }
}

@keyframes gridMove {
  0% {
    background-position: 0 0;
    transform: scale(1);
  }
  50% {
    background-position: 30px 30px;
    transform: scale(1.1);
  }
  100% {
    background-position: 0 0;
    transform: scale(1);
  }
}

@keyframes gentleWave {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.3;
  }
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
}

.game-showcase {
  display: flex;
  flex-direction: column;
  background: linear-gradient(to bottom, #1a1a1a, #2d2d2d);
  position: relative;
  height: 100vh;
  max-height: 100vh;
}

.game-main-display {
  width: 100%;
  padding: 30px;
  position: relative;
  height: calc(100vh - 220px);
  overflow: hidden;
}

.game-featured {
  position: relative;
  width: 97%;
  border-radius: 12px;
  height: 100%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
}

.game-banner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

.game-details {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.8) 20%, rgba(0,0,0,0.4) 60%, transparent 100%);
  color: white;
  transition: transform 0.5s ease, opacity 0.5s ease;
  z-index: 5;
  max-height: 60%;
  overflow-y: auto;
  /* 隐藏滚动条但保留功能 */
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.game-details::-webkit-scrollbar {
  width: 5px;
}

.game-details::-webkit-scrollbar-track {
  background: transparent;
}

.game-details::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.3);
  border-radius: 10px;
}

.game-logo {
  max-width: 200px;
  margin-bottom: 20px;
}

.game-logo img {
  width: 100%;
  height: auto;
}

.game-details h1 {
  font-size: 2.5em;
  margin: 10px 0;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.game-description {
  font-size: 1.1em;
  margin: 15px 0;
  max-width: 600px;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
}

.game-price-section {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 20px 0;
}

.discount-badge {
  background: #0074e4;
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: bold;
}

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

.original-price {
  color: #999;
  text-decoration: line-through;
}

.current-price {
  color: white;
  font-size: 1.4em;
  font-weight: bold;
}

.action-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.pre-order-btn, .more-info-btn {
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pre-order-btn {
  background: #0074e4;
  color: white;
  border: none;
}

.pre-order-btn:hover {
  background: #0066cc;
}

.more-info-btn {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}

.more-info-btn:hover {
  background: rgba(255,255,255,0.2);
}

/* 侧边栏重新设计 */
.game-sidebar {
  width: 100%;
  background: linear-gradient(to bottom, rgba(30, 30, 30, 0.95), rgba(20, 20, 20, 0.95));
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  height: 220px;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
}

.sidebar-avatar {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--accent-color);
}

.sidebar-title h2 {
  color: white;
  font-size: 1.3rem;
  margin: 0;
  font-weight: 600;
}

.sidebar-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin: 5px 0 0 0;
}

.game-list {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  padding: 15px;
  gap: 15px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-color) rgba(255, 255, 255, 0.1);
  height: 100px;
}

.game-list::-webkit-scrollbar {
  height: 6px;
}

.game-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.game-list::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 10px;
}

.game-item {
  flex: 0 0 250px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  height: 90px;
}

.game-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.1);
}

.game-item.active {
  border-color: var(--accent-color);
  background: rgba(0, 229, 255, 0.1);
}

.game-item-image {
  position: relative;
  width: 100%;
  height: 160px;
  overflow: hidden;
}

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

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

.game-item-overlay {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.7);
  padding: 5px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.game-item-status {
  font-size: 0.7rem;
  color: var(--accent-color);
  font-weight: bold;
}

.game-item-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: calc(100% - 160px); /* 减去图片高度 */
}

.game-item-info h3 {
  color: white;
  font-size: 1rem;
  margin: 0 0 5px 0;
  line-height: 1.3;
}

.game-item-category {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  margin: 0;
  padding-top: 5px;
}

.sidebar-footer {
  padding: 10px 20px 15px;
  text-align: center;
  display: none;
}

.view-all-btn {
  background: transparent;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.view-all-btn:hover {
  background: rgba(0, 229, 255, 0.1);
}

.view-all-btn i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.view-all-btn:hover i {
  transform: translateX(3px);
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
  .game-showcase {
    flex-direction: column;
    height: 100vh;
  }

  .game-sidebar {
    width: 100%;
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: auto;
    max-height: 45vh;
  }
  
  .game-list {
    padding: 10px;
    gap: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    height: auto;
    max-height: calc(45vh - 70px);
  }
  
  .game-item {
    flex: 0 0 200px;
    height: 30px;
  }
  
  .game-item-image {
    height: 120px;
  }

  .game-banner {
    height: 100%;
  }

  .game-details {
    padding: 20px;
  }

  .game-details h1 {
    font-size: 1.8em;
  }

  .game-description {
    font-size: 1em;
    margin: 10px 0;
  }

  .action-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .pre-order-btn, .more-info-btn {
    width: 100%;
  }
  
  .swipe-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
  }

  .swipe-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    transition: background-color 0.3s ease;
  }

  .swipe-dot.active {
    background: #fff;
  }

  .game-item-info {
    padding: 10px;
    height: calc(100% - 120px); /* 减去移动端图片高度 */
  }
  
  .game-item-info h3 {
    font-size: 0.9rem;
    margin: 0 0 3px 0;
  }
}

@media screen and (max-width: 480px) {
  .game-item {
    flex: 0 0 160px;
  }
  
  .game-item-image {
    height: 100px;
  }
  
  .game-item-info h3 {
    font-size: 0.9rem;
  }
  
  .game-item-category {
    font-size: 0.7rem;
  }
  
  .sidebar-header {
    padding: 15px;
  }
  
  .sidebar-avatar {
    width: 40px;
    height: 40px;
  }
  
  .sidebar-title h2 {
    font-size: 1.1rem;
  }
  
  .sidebar-subtitle {
    font-size: 0.75rem;
  }
}

/* 添加滑动动画类 */
.slide-left-out {
  animation: slideLeftOut 0.5s forwards;
}

.slide-right-out {
  animation: slideRightOut 0.5s forwards;
}

.slide-left-in {
  animation: slideLeftIn 0.5s forwards;
}

.slide-right-in {
  animation: slideRightIn 0.5s forwards;
}

/* 定义滑动动画 */
@keyframes slideLeftOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}

@keyframes slideRightOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

@keyframes slideLeftIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideRightIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* 内容淡入动画 */
.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 添加过渡效果 */
.game-logo, .game-details h1, .game-description, .game-price-section, .action-buttons {
  opacity: 0;
  transform: translateY(20px);
}

.game-logo.animate {
  animation: fadeIn 0.5s ease 0.1s forwards;
}

.game-details h1.animate {
  animation: fadeIn 0.5s ease 0.2s forwards;
}

.game-description.animate {
  animation: fadeIn 0.5s ease 0.3s forwards;
}

.game-price-section.animate {
  animation: fadeIn 0.5s ease 0.4s forwards;
}

.action-buttons.animate {
  animation: fadeIn 0.5s ease 0.5s forwards;
}
/* 图标喷泉效果 */
.icon-fountain-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  overflow: hidden;
  z-index: 5;
  pointer-events: none;
}

.icon-fountain {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  display: flex;
  justify-content: center;
}

.icon-fountain i {
  position: absolute;
  bottom: 0;
  color: var(--accent-color);
  font-size: 1.3rem;
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.7));
  animation: fountainUp var(--duration, 3s) ease-out forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fountainUp {
  0% {
    transform: translateY(0) translateX(0) scale(0.5);
    opacity: 0.7;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-90px) translateX(var(--translateX, 0)) scale(1);
    opacity: 0;
  }
}

.fountain-guide {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-color);
  opacity: 0.8;
  transition: all 0.3s ease;
  animation: pulseGuide 2s infinite;
  pointer-events: auto;
  cursor: pointer;
  z-index: 6;
}

.fountain-guide::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 30px;
  background: radial-gradient(ellipse at center, rgba(0,229,255,0.3) 0%, rgba(0,229,255,0) 70%);
  border-radius: 50%;
  opacity: 0.5;
  animation: glowPulse 2s infinite;
}

.guide-arrow {
  font-size: 1.5rem;
  margin-bottom: 5px;
  color: var(--accent-color);
  animation: arrowBounce 2s infinite;
}

.guide-text {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

@keyframes pulseGuide {
  0%, 100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

@keyframes glowPulse {
  0%, 100% {
    opacity: 0.5;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translateX(-50%) scale(1.2);
  }
}

@keyframes arrowBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

.fountain-guide:hover {
  transform: translateX(-50%) scale(1.1);
}

.fountain-guide:hover .guide-arrow {
  animation-duration: 1s;
}

.header-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.2));
  pointer-events: none;
}

/* 响应式调整 */
@media screen and (max-width: 768px) {
  .icon-fountain-container {
    height: 80px;
  }
  
  .icon-fountain i {
    font-size: 1rem;
  }
  
  @keyframes fountainUp {
    0% {
      transform: translateY(0) translateX(0) scale(0.5);
      opacity: 0.7;
    }
    100% {
      transform: translateY(-65px) translateX(var(--translateX, 0)) scale(0.9);
      opacity: 0;
    }
  }
}

.scroll-indicator-line {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-color), transparent);
  margin-top: 10px;
  opacity: 0.7;
  animation: lineFlash 2s infinite;
}

@keyframes lineFlash {
  0%, 100% {
    height: 40px;
    opacity: 0.7;
  }
  50% {
    height: 60px;
    opacity: 1;
  }
}

/* 添加技能和项目板块的样式 */

/* 技能区域主容器 */
.skillSection {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  color: #fff;
}

/* 背景效果 */
.skillBackground-wave {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" xmlns="http://www.w3.org/2000/svg"><path d="M0 0v46.29c47.79 22.2 103.59 32.17 158 28 70.36-5.37 136.33-33.31 206.8-37.5 73.84-4.36 147.54 16.88 218.2 35.26 69.27 18.17 138.3 24.88 209.4 13.08 36.15-6 69.85-17.84 104.45-29.34C989.49 25 1113-14.29 1200 52.47V0z" opacity=".25" fill="%230f172a"/><path d="M0 0v15.81c13 21.11 27.64 41.05 47.69 56.24C99.41 111.27 165 111 224.58 91.58c31.15-10.15 60.09-26.07 89.67-39.8 40.92-19 84.73-46 130.83-49.67 36.26-2.85 70.9 9.42 98.6 31.56 31.77 25.39 62.32 62 103.63 73 40.44 10.79 81.35-6.69 119.13-24.28s75.16-39 116.92-43.05c59.73-5.85 113.28 22.88 168.9 38.84 30.2 8.66 59 6.17 87.09-7.5 22.43-10.89 48-26.93 60.65-49.24V0z" opacity=".5" fill="%230f172a"/><path d="M0 0v5.63C149.93 59 314.09 71.32 475.83 42.57c43-7.64 84.23-20.12 127.61-26.46 59-8.63 112.48 12.24 165.56 35.4C827.93 77.22 886 95.24 951.2 90c86.53-7 172.46-45.71 248.8-84.81V0z" fill="%230f172a"/></svg>') no-repeat center bottom;
  background-size: cover;
  z-index: 1;
  transform: rotate(180deg);
}

.skillBackground-pulse {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0) 70%);
  animation: skillPulse 8s infinite ease-in-out;
  z-index: 0;
}

@keyframes skillPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.6;
  }
}

/* 标题区域 */
.skillHeader {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.skillTitle {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  display: inline-block;
}

.skillTitle::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #4f46e5, #7c3aed);
  border-radius: 2px;
}

.skillSubtitle {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 600px;
  margin: 0 auto;
}

/* 内容区域 */
.skillContent {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* 技能展示区 */
.skillExpertise {
  position: relative;
}

.skillExpertiseTitle {
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-align: center;
  color: #f8fafc;
}

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

.skillCard {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 12px;
  padding: 25px 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.skillCard:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.skillCardIcon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #6366f1;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.skillCardTitle {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #f8fafc;
}

.skillCardDescription {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.5;
}

/* 项目展示区 */
.skillProjects {
  position: relative;
}

.skillProjectsTitle {
  font-size: 1.8rem;
  margin-bottom: 30px;
  text-align: center;
  color: #f8fafc;
}

.skillCarousel {
  position: relative;
  margin-bottom: 25px;
}

.skillCarouselContainer {
  position: relative;
  min-height: 350px;
  border-radius: 12px;
  overflow: hidden;
}

.skillProject {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.skillProject.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.skillProjectImageWrap {
  height: 180px;
  overflow: hidden;
}

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

.skillProject:hover .skillProjectImage {
  transform: scale(1.05);
}

.skillProjectContent {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.skillProjectTitle {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #f8fafc;
}

.skillProjectDescription {
  font-size: 0.95rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 15px;
  flex: 1;
}

.skillProjectTags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skillProjectTag {
  font-size: 0.75rem;
  padding: 5px 10px;
  background: rgba(99, 102, 241, 0.2);
  color: #c7d2fe;
  border-radius: 20px;
  display: inline-block;
}

.skillCarouselBtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8fafc;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  transition: all 0.3s ease;
}

.skillCarouselBtn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.skillPrev {
  left: -20px;
}

.skillNext {
  right: -20px;
}

.skillCarouselIndicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.skillCarouselIndicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.skillCarouselIndicator.active {
  background: #6366f1;
  transform: scale(1.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
  .skillContent {
    gap: 40px;
  }
  
  .skillGrid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .skillCarouselBtn {
    width: 35px;
    height: 35px;
  }
  
  .skillPrev {
    left: -15px;
  }
  
  .skillNext {
    right: -15px;
  }
}

@media (max-width: 576px) {
  .skillSection {
    padding: 60px 0;
  }
  
  .skillTitle {
    font-size: 2rem;
  }
  
  .skillExpertiseTitle,
  .skillProjectsTitle {
    font-size: 1.5rem;
  }
  
  .skillGrid {
    grid-template-columns: 1fr;
  }
  
  .skillCarouselBtn {
    display: none;
  }
}

