/* ===== CSS变量定义 ===== */
:root {
  --bg-cream: #F5F0E8;
  --accent-pink: #D4A5A5;
  --accent-blue: #A8C5D6;
  --text-primary: #4A4A4A;
  --text-secondary: #7A7A7A;
  --white: #FFFFFF;
  --shadow: rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', sans-serif;
  font-weight: 300;
  color: var(--text-primary);
  background-color: var(--bg-cream);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

/* ===== 顶部导航栏 ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(245, 240, 232, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 165, 165, 0.2);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  justify-content: center;
  gap: 50px;
}

.nav-item {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-pink);
  transition: width 0.3s ease;
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
}

.nav-item:hover {
  color: var(--accent-pink);
}

.nav-item.active {
  color: var(--accent-pink);
  font-weight: 500;
}

/* ===== 首屏区域 ===== */
.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(245, 240, 232, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  animation: fadeIn 1.5s ease;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  color: var(--text-primary);
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.5);
  font-weight: 500;
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 24px;
  color: var(--text-primary);
  font-weight: 400;
  letter-spacing: 3px;
}

.hero-scroll-hint {
  margin-top: 40px;
}

.hero-scroll-hint span {
  color: var(--text-primary);
  font-weight: 500;
}

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

/* ===== 通用板块样式 ===== */
section {
  padding: 100px 0;
  position: relative;
  min-height: 100vh;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-primary);
  font-weight: 500;
  letter-spacing: 1px;
}

.section-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 60px;
  font-weight: 300;
}

/* ===== 装饰色块 ===== */
.blob-bg {
  position: absolute;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  filter: blur(60px);
  opacity: 0.3;
  z-index: 1;
}

.blob-bg.pink {
  background: var(--accent-pink);
  width: 400px;
  height: 400px;
  top: 10%;
  right: -100px;
}

.blob-bg.blue {
  background: var(--accent-blue);
  width: 450px;
  height: 450px;
  top: 20%;
  left: -150px;
}

/* ===== 关于我板块 ===== */
.about-section {
  background: var(--bg-cream);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 60px;
}

.info-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 30px var(--shadow);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.hobbies-card {
  padding: 40px;
}

.hobbies-card h3 {
  margin-bottom: 30px;
}

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

.info-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--text-primary);
  font-weight: 500;
}

.info-card ul {
  list-style: none;
}

.info-card ul li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(212, 165, 165, 0.2);
  font-weight: 300;
}

.info-card ul li:last-child {
  border-bottom: none;
}

.hobby-card {
  padding: 25px;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.hobby-card.pink {
  background: rgba(212, 165, 165, 0.15);
}

.hobby-card.blue {
  background: rgba(168, 197, 214, 0.15);
}

.hobby-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px var(--shadow);
}

.hobby-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.hobby-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 300;
}

.about-text {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 8px 30px var(--shadow);
}

.about-text p {
  margin-bottom: 15px;
  font-weight: 300;
  line-height: 1.8;
}

/* 滚动提示 */
.scroll-hint {
  text-align: center;
  cursor: pointer;
  margin-top: 40px;
  transition: all 0.3s ease;
}

.scroll-hint span {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-weight: 300;
}

.arrow-down {
  width: 30px;
  height: 30px;
  color: var(--accent-pink);
  animation: bounce 2s infinite;
}

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

.scroll-hint:hover {
  transform: scale(1.1);
}

/* ===== 影像集板块 ===== */
.gallery-section {
  background: var(--bg-cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 30px var(--shadow);
  transition: transform 0.3s ease;
  aspect-ratio: 4/3;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img,
.placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder-img {
  background: linear-gradient(135deg, rgba(212, 165, 165, 0.2), rgba(168, 197, 214, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 18px;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(245, 240, 232, 0.9);
  padding: 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay span {
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 400;
}

/* ===== 音乐集板块 ===== */
.sound-section {
  background: var(--bg-cream);
}

.music-list {
  max-width: 800px;
  margin: 0 auto;
}

.music-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  padding: 25px 30px;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px var(--shadow);
  transition: all 0.3s ease;
}

.music-item:hover {
  transform: translateX(10px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.music-icon {
  font-size: 36px;
  color: var(--accent-pink);
  min-width: 50px;
  text-align: center;
}

.music-info {
  flex: 1;
}

.music-info h4 {
  font-size: 18px;
  margin-bottom: 5px;
  font-weight: 500;
}

.music-info p {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 300;
}

.music-link {
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-blue));
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 400;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(212, 165, 165, 0.3);
}

.music-link:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(212, 165, 165, 0.5);
}

/* ===== 社交主页板块 ===== */
.links-section {
  background: var(--bg-cream);
}

.social-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border-radius: 20px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px var(--shadow);
}

.social-card.pink {
  background: rgba(212, 165, 165, 0.15);
}

.social-card.blue {
  background: rgba(168, 197, 214, 0.15);
}

.social-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.social-icon {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 15px;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 1px;
}

.social-card.pink .social-icon {
  color: var(--accent-pink);
}

.social-card.blue .social-icon {
  color: var(--accent-blue);
}

.social-card span {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 300;
}

/* ===== 页脚 ===== */
.footer {
  text-align: center;
  padding: 40px 20px;
  background: var(--white);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 300;
}

/* ===== 图片查看器 ===== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.modal-content {
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: zoomIn 0.3s ease;
}

#modalCaption {
  text-align: center;
  color: #fff;
  padding: 20px;
  font-size: 18px;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 1px;
}

.close-modal {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 50px;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2001;
  line-height: 1;
}

.close-modal:hover {
  color: var(--accent-pink);
  transform: scale(1.1);
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* 画廊图片可点击提示 */
.gallery-item {
  cursor: pointer;
}

/* ===== 装饰线条 ===== */
.decoration-line {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.line-1 {
  top: 30%;
  right: 5%;
  width: 300px;
  height: 80px;
  transform: rotate(15deg);
}

.line-2 {
  bottom: 20%;
  left: 5%;
  width: 300px;
  height: 80px;
  transform: rotate(-10deg);
}

<<<<<<< HEAD
/* ===== 鼠标动效 ===== */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 165, 165, 0.15) 0%, rgba(168, 197, 214, 0.1) 40%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease;
  mix-blend-mode: screen;
  filter: blur(40px);
}

.cursor-particle {
  position: fixed;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  animation: particleFade 1s ease-out forwards;
}

@keyframes particleFade {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0) translateY(-20px);
  }
}

=======
>>>>>>> 4d48532be9f18cf100e9ca9607560447901f508d
/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
  .nav-container {
    padding: 15px 20px;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-around;
  }

  .nav-item {
    font-size: 12px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  section {
    padding: 60px 0;
  }

  .container {
    padding: 0 20px;
  }

  .section-title {
    font-size: 36px;
  }

  .about-content {
    flex-direction: column;
  }

  .hobby-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .social-links {
    grid-template-columns: 1fr;
  }

  .blob-bg {
    width: 250px;
    height: 250px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section-title {
    font-size: 28px;
  }

  .info-card,
  .about-text {
    padding: 25px;
  }
}
