/* ========================================
   马卡龙风格个人网站 - 主样式表
   ======================================== */

/* 引入字体 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;900&family=ZCOOL+KuaiLe&display=swap');

/* Tailwind CSS CDN */
@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');

/* ========================================
   CSS 变量定义
   ======================================== */
:root {
  /* 马卡龙色系 */
  --color-macaron-yellow: #FFE66D;
  --color-macaron-orange: #FFB347;
  --color-macaron-pink: #FF9E9E;
  --color-macaron-purple: #C9A8FF;
  --color-macaron-green: #A0E7B5;
  --color-macaron-blue: #8FD3F4;
  --color-macaron-coral: #FF8B94;
  --color-macaron-mint: #B5EAD7;
  --color-macaron-lavender: #E6E6FA;
  --color-macaron-brown: #F4D0A8;
  --color-macaron-cream: #FFF5E4;
  
  /* 文字色 */
  --text-dark: #2D3748;
  --text-medium: #4A5568;
  --text-light: #718096;
  --text-white: #FFFFFF;
  
  /* 背景色 */
  --bg-cream: #FFFDF9;
  --bg-light: #F7FAFC;
  
  /* 字体 */
  --font-title: 'ZCOOL KuaiLe', cursive;
  --font-body: 'Noto Sans SC', sans-serif;
}

/* ========================================
   创意鼠标样式系统
   ======================================== */

/* 全局自定义鼠标 */
* {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'><circle cx='24' cy='24' r='20' fill='%23FF8B94' stroke='%234A4A4A' stroke-width='3'/><circle cx='24' cy='24' r='8' fill='%23FFE66D'/><path d='M24 4 L24 44 M4 24 L44 24' stroke='%23C9A8FF' stroke-width='2' opacity='0.3'/></svg>") 24 24, auto !important;
}

/* 链接和可点击元素 */
a, button, .clickable {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'><path d='M24 4 L44 44 L24 36 L16 44 Z' fill='%23A0E7B5' stroke='%234A4A4A' stroke-width='3'/><circle cx='24' cy='20' r='6' fill='%238FD3F4'/></svg>") 24 24, pointer !important;
}

/* 输入框 */
input, textarea {
  cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'><rect x='20' y='4' width='8' height='40' fill='%23FFE66D' stroke='%234A4A4A' stroke-width='3'/><path d='M20 12 L28 12 M20 20 L28 20 M20 28 L28 28' stroke='%234A4A4A' stroke-width='2'/></svg>") 24 24, text !important;
}

/* 自定义鼠标指针容器 */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  mix-blend-mode: multiply;
}

/* 主鼠标圆圈 */
.cursor-circle {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--color-macaron-yellow) 0%, transparent 70%);
  border: 3px solid var(--text-dark);
  transform: translate(-50%, -50%);
  transition: width 0.1s, height 0.1s, background 0.2s;
  box-shadow: 
    0 0 20px var(--color-macaron-coral),
    0 0 40px var(--color-macaron-yellow);
}

/* 鼠标中心点 */
.cursor-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--text-dark);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

/* 鼠标跟随轨迹 */
.cursor-trail {
  position: absolute;
  width: 20px;
  height: 20px;
  pointer-events: none;
  animation: trailFade 0.6s ease-out forwards;
}

.cursor-trail::before {
  content: '✦';
  font-size: 20px;
  color: var(--color-macaron-purple);
  text-shadow: 0 0 10px var(--color-macaron-purple);
}

/* 点击粒子效果容器 */
.click-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  pointer-events: none;
  animation: particleExplode 0.8s ease-out forwards;
}

/* 鼠标悬停放大效果 */
.cursor-hover {
  width: 60px !important;
  height: 60px !important;
  background: radial-gradient(circle, var(--color-macaron-green) 0%, transparent 70%) !important;
  box-shadow: 
    0 0 30px var(--color-macaron-green),
    0 0 60px var(--color-macaron-blue) !important;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background: linear-gradient(135deg, #A890D0 0%, #FFB6C1 100%);
  overflow-x: hidden;
  overflow-y: auto;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 全屏滚动容器 */
.fullpage-container {
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.fullpage-section {
  height: 100vh;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
  display: flex;
  flex-direction: column;
}

.section-1 {
  transform: translateY(0);
  z-index: 2;
}

.section-2 {
  transform: translateY(100%);
  z-index: 1;
}

.fullpage-container.active .section-1 {
  transform: translateY(-100%);
}

.fullpage-container.active .section-2 {
  transform: translateY(0);
  z-index: 2;
}

/* 按 ESC 键切换鼠标样式 */
body.default-cursor {
  cursor: auto !important;
}

body.default-cursor * {
  cursor: auto !important;
}

body.default-cursor .custom-cursor {
  display: none;
}

/* ========================================
   大标题区域
   ======================================== */
.main-title-section {
  padding: 3rem 0 2rem;
  text-align: center;
  background: transparent;
}

.main-title {
  font-family: var(--font-title);
  font-size: 80px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 4px 4px 0 var(--text-dark);
}

.highlight-yellow {
  display: inline-block;
  color: var(--color-macaron-orange);
  text-shadow: 
    3px 3px 0 var(--text-dark),
    -1px -1px 0 var(--color-macaron-yellow);
  animation: bounce 2s ease-in-out infinite;
}

.highlight-pink {
  display: inline-block;
  color: var(--color-macaron-coral);
  text-shadow: 
    3px 3px 0 var(--text-dark),
    -1px -1px 0 var(--color-macaron-pink);
  animation: bounce 2s ease-in-out infinite 0.5s;
}

/* ========================================
   创意导航元素 - 散布布局
   ======================================== */
.creative-nav-scattered {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  min-height: 50vh;
}

.nav-element {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  animation: float 6s ease-in-out infinite;
}

/* 元素 1 - Home（随机位置） */
.nav-element:nth-child(1) {
  top: 60%;
  left: 18%;
  animation-delay: 0s;
}

/* 元素 2 - Tool（随机位置） */
.nav-element:nth-child(2) {
  top: 12%;
  right: 22%;
  animation-delay: 1.5s;
}

/* 元素 3 - Menu（随机位置） */
.nav-element:nth-child(3) {
  top: 12%;
  left: 35%;
  animation-delay: 3s;
}

/* 元素 4 - Other（随机位置） */
.nav-element:nth-child(4) {
  bottom: 8%;
  right: 28%;
  animation-delay: 4.5s;
}

/* 宠物元素通过类名单独定位 */

.nav-shape {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--text-dark);
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
}

/* 星星形状 - Home */
.nav-star .nav-shape {
  background: var(--color-macaron-yellow);
  border-radius: 50%;
}

/* 月亮形状 - Tool */
.nav-moon .nav-shape {
  background: var(--color-macaron-purple);
  border-radius: 50%;
  box-shadow: -15px 10px 0 var(--text-dark) inset;
}

/* 云朵形状 - Menu */
.nav-cloud .nav-shape {
  background: var(--color-macaron-blue);
  border-radius: 50px;
  box-shadow: 
    25px 15px 0 var(--text-dark) inset,
    -25px 15px 0 var(--text-dark) inset;
}

/* 彩虹形状 - Other */
.nav-rainbow .nav-shape {
  background: linear-gradient(135deg, 
    var(--color-macaron-pink) 0%, 
    var(--color-macaron-purple) 25%, 
    var(--color-macaron-blue) 50%, 
    var(--color-macaron-green) 75%, 
    var(--color-macaron-yellow) 100%);
  border-radius: 50%;
}

.nav-icon {
  font-size: 50px;
  z-index: 1;
}

.nav-label {
  font-family: var(--font-title);
  font-size: 18px;
  color: var(--text-dark);
  margin-top: 0.75rem;
  background: var(--bg-cream);
  padding: 0.5rem 1rem;
  border-radius: 15px;
  border: 2px solid var(--text-dark);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

/* 悬停效果 - 弹跳 + 旋转 */
.nav-element:not(.dragging):not(.running-away):hover {
  transform: translateY(-10px) rotate(15deg) scale(1.15);
  z-index: 10;
}

.nav-element:hover .nav-shape {
  box-shadow: 8px 8px 0 var(--text-dark);
}

.nav-element:hover .nav-label {
  opacity: 1;
  transform: translateY(0);
}

/* 点击效果 */
.nav-element:active {
  transform: translateY(-5px) rotate(5deg) scale(0.95);
}

/* ========================================
   马卡龙小狗样式 - 修正版
   ======================================== */
.nav-element.nav-duck,
.nav-element.nav-dog {
  cursor: grab !important;
  user-select: none;
  touch-action: none;
  will-change: left, top;
}

.nav-element.nav-duck {
  top: 5%;
  left: 5%;
  right: auto;
  bottom: auto;
  width: 132px;
  height: 132px;
  animation: none !important;
}

.nav-element.nav-dog {
  top: auto;
  left: auto;
  right: 5%;
  bottom: 5%;
  width: 168px;
  height: 168px;
  animation-delay: 2s;
}

.nav-element.nav-duck.dragging,
.nav-element.nav-dog.dragging {
  cursor: grabbing !important;
  animation: none !important;
  transition: none !important;
  z-index: 1000;
}

.nav-element.nav-duck.running-away,
.nav-element.nav-dog.running-away {
  animation: runAway 0.9s ease-in forwards !important;
  pointer-events: none;
}

.dog-container,
.duck-container {
  position: relative;
  width: 100%;
  height: 100%;
  animation: dogFloat 2s ease-in-out infinite;
}

.dog-svg-img,
.duck-svg-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 8px 0 rgba(45, 55, 72, 0.18));
}

.dog-love {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%) scale(.7);
  font-size: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  text-shadow: 0 2px 8px rgba(255, 139, 148, 0.45);
}

.dog-love.show {
  opacity: 1;
  animation: lovePop .9s ease-in-out infinite;
}

.nav-element.nav-duck.dragging .duck-container,
.nav-element.nav-duck.running-away .duck-container,
.nav-element.nav-dog.dragging .dog-container,
.nav-element.nav-dog.running-away .dog-container {
  animation: none;
}

.dog-body {
  position: relative;
  width: 100%;
  height: 100%;
}

.dog-head {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 82px;
  background: linear-gradient(180deg, #ffe9cc 0%, #ffd8b3 100%);
  border-radius: 50% 50% 46% 46%;
  border: 4px solid var(--text-dark);
  z-index: 6;
}

.dog-ear {
  position: absolute;
  width: 26px;
  height: 36px;
  background: var(--color-macaron-brown);
  border: 4px solid var(--text-dark);
  border-radius: 45% 45% 55% 55%;
  top: -10px;
  z-index: 5;
}

.dog-ear-left {
  left: 10px;
  transform-origin: 50% 0;
  transform: rotate(-22deg);
  animation: earWiggleLeft 2s ease-in-out infinite;
}

.dog-ear-right {
  right: 10px;
  transform-origin: 50% 0;
  transform: rotate(22deg);
  animation: earWiggleRight 2s ease-in-out infinite;
}

.dog-face {
  position: relative;
  width: 100%;
  height: 100%;
}

.dog-eye {
  position: absolute;
  width: 12px;
  height: 13px;
  background: var(--text-dark);
  border-radius: 50%;
  top: 28px;
  animation: blink 3.4s ease-in-out infinite;
}

.dog-eye-left { left: 22px; }
.dog-eye-right { right: 22px; }

.dog-eye::after {
  content: '';
  position: absolute;
  top: 2px;
  right: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
}

.dog-cheeks {
  position: absolute;
  top: 44px;
  width: 100%;
}

.dog-cheek {
  position: absolute;
  width: 14px;
  height: 9px;
  background: var(--color-macaron-pink);
  border-radius: 50%;
  opacity: .75;
}

.dog-cheek-left { left: 10px; }
.dog-cheek-right { right: 10px; }

.dog-nose {
  position: absolute;
  top: 42px;
  left: 50%;
  transform: translateX(-50%);
  width: 15px;
  height: 11px;
  border: 3px solid var(--text-dark);
  border-radius: 45%;
  background: #ffb7c5;
}

.dog-mouth {
  position: absolute;
  top: 54px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 14px;
  border-bottom: 3px solid var(--text-dark);
  border-radius: 0 0 18px 18px;
}

.tongue {
  position: absolute;
  left: 50%;
  top: 5px;
  transform: translateX(-50%);
  font-size: 11px;
  animation: tongueWiggle 1s ease-in-out infinite;
}

.dog-body-round {
  position: absolute;
  left: 50%;
  top: 88px;
  transform: translateX(-50%);
  width: 98px;
  height: 66px;
  background: linear-gradient(180deg, #ffd8b3 0%, #ffcfa1 100%);
  border: 4px solid var(--text-dark);
  border-radius: 56% 56% 48% 48%;
  z-index: 3;
}

.dog-body-round::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  width: 40px;
  height: 28px;
  background: var(--color-macaron-cream);
  border: 3px solid var(--text-dark);
  border-radius: 50%;
}

.dog-tail {
  position: absolute;
  left: calc(50% + 42px);
  top: 104px;
  width: 34px;
  height: 30px;
  border: 4px solid var(--text-dark);
  border-left: none;
  border-bottom: none;
  border-radius: 0 22px 0 0;
  background: transparent;
  transform-origin: 2px 70%;
  z-index: 2;
  animation: tailWag 0.65s ease-in-out infinite;
}

.dog-tail::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 16px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffd8b3;
  border: 3px solid var(--text-dark);
}

.dog-legs {
  position: absolute;
  left: 50%;
  top: 126px;
  transform: translateX(-50%);
  width: 102px;
  height: 38px;
  z-index: 4;
}

.leg {
  position: absolute;
  width: 15px;
  height: 24px;
  border: 3px solid var(--text-dark);
  border-radius: 8px;
  background: #ffd3aa;
  animation: legMove 0.95s ease-in-out infinite;
}

.leg-front-left { left: 14px; top: 0; }
.leg-front-right { left: 34px; top: 0; animation-delay: 0.22s; }
.leg-back-left { left: 62px; top: 1px; animation-delay: 0.11s; }
.leg-back-right { left: 82px; top: 1px; animation-delay: 0.33s; }

.paw {
  position: absolute;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%);
  width: 18px;
  height: 10px;
  border: 3px solid var(--text-dark);
  border-radius: 10px;
  background: var(--color-macaron-cream);
}

@keyframes dogFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes lovePop {
  0%, 100% { transform: translateX(-50%) scale(.82) translateY(0); }
  50% { transform: translateX(-50%) scale(1.08) translateY(-5px); }
}

@keyframes tailWag {
  0%, 100% { transform: rotate(-16deg); }
  50% { transform: rotate(18deg); }
}

@keyframes headBob {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(2deg); }
}

@keyframes runAway {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(380px, -180px) scale(.4); opacity: 0; }
}

/* ========================================
   极简页脚
   ======================================== */
.footer-minimal {
  background: var(--text-dark);
  color: var(--text-white);
  padding: 2rem 0;
}

.footer-minimal-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer-section p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-light);
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.social-link-minimal {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background: var(--color-macaron-yellow);
  color: var(--text-dark);
}

.social-link-minimal:hover {
  background: var(--color-macaron-pink);
  transform: scale(1.1);
}

.footer-bottom-minimal {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--text-light);
}

.footer-bottom-minimal p {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-light);
}

/* ========================================
   动画关键帧
   ======================================== */

/* 漂浮动画 */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* 弹跳动画 */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* 轨迹淡出动画 */
@keyframes trailFade {
  0% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: scale(0.3) rotate(180deg);
  }
}

/* 粒子爆炸动画 */
@keyframes particleExplode {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(0);
  }
}

/* ========================================
   响应式设计 - 增强移动端适配
   ======================================== */

/* 平板和手机端（< 768px） */
@media (max-width: 768px) {
  /* 禁用自定义鼠标，使用系统默认 */
  body {
    cursor: auto !important;
  }
  
  body * {
    cursor: auto !important;
  }
  
  .custom-cursor {
    display: none !important;
  }
  
  /* 标题调整 */
  .main-title {
    font-size: 56px;
    line-height: 1.2;
  }
  
  .main-title-section {
    padding: 2rem 1rem 1rem;
  }
  
  /* 导航布局优化 */
  .creative-nav-scattered {
    min-height: 60vh;
    padding: 1rem;
  }
  
  /* 移动端改为网格布局 */
  .creative-nav-scattered {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: start;
  }
  
  /* 导航元素相对定位 */
  .nav-element {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 !important;
    animation: float 3s ease-in-out infinite !important;
  }
  
  /* 宠物元素占满一行 */
  .nav-element.nav-duck,
  .nav-element.nav-dog {
    grid-column: span 2;
    width: 120px !important;
    height: 120px !important;
    margin: 0.5rem auto !important;
  }
  
  /* 导航形状缩小 */
  .nav-shape {
    width: 70px;
    height: 70px;
  }
  
  .nav-star .nav-shape {
    width: 80px;
    height: 80px;
  }
  
  .nav-icon {
    font-size: 36px;
  }
  
  .nav-label {
    font-size: 14px;
    padding: 0.4rem 0.8rem;
  }
  
  /* 宠物尺寸调整 */
  .dog-container,
  .duck-container {
    width: 100px;
    height: 100px;
  }
  
  /* LOVE 标题调整 */
  .love-title {
    font-size: 120px;
    gap: 5px;
  }
  
  .love-subtitle {
    font-size: 24px;
  }
  
  /* 装饰图形调整 */
  .decorative-shapes {
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  
  .shape-item {
    width: 65px;
    height: 65px;
  }
  
  .shape-rounded-square {
    width: 65px;
    height: 65px;
  }
  
  .shape-rounded-square-large {
    width: 80px;
    height: 80px;
  }
  
  .shape-circle {
    width: 50px;
    height: 50px;
  }
  
  .cat-svg-img {
    width: 90%;
    height: 90%;
  }
}

/* 小屏手机（< 480px） */
@media (max-width: 480px) {
  /* 标题进一步缩小 */
  .main-title {
    font-size: 42px;
  }
  
  .highlight-yellow,
  .highlight-pink {
    display: block;
  }
  
  /* 导航单列布局 */
  .creative-nav-scattered {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 0.5rem;
  }
  
  .nav-element.nav-duck,
  .nav-element.nav-dog {
    grid-column: span 1;
    width: 90px !important;
    height: 90px !important;
  }
  
  /* 导航形状更小 */
  .nav-shape {
    width: 60px;
    height: 60px;
  }
  
  .nav-star .nav-shape {
    width: 70px;
    height: 70px;
  }
  
  .nav-icon {
    font-size: 30px;
  }
  
  .nav-label {
    font-size: 12px;
    padding: 0.3rem 0.6rem;
  }
  
  /* 宠物更小 */
  .dog-container,
  .duck-container {
    width: 80px;
    height: 80px;
  }
  
  /* LOVE 标题 */
  .love-title {
    font-size: 80px;
    letter-spacing: -3px;
  }
  
  .love-subtitle {
    font-size: 18px;
  }
  
  .cat-inside-o {
    width: 35px;
    height: 45px;
  }
  
  /* 装饰图形 */
  .decorative-shapes {
    gap: 1rem;
  }
  
  .shape-item {
    width: 55px;
    height: 55px;
  }
  
  .shape-rounded-square {
    width: 55px;
    height: 55px;
  }
  
  .shape-rounded-square-large {
    width: 70px;
    height: 70px;
  }
  
  .shape-circle {
    width: 40px;
    height: 40px;
  }
}

/* 超小屏幕（< 360px） */
@media (max-width: 360px) {
  .main-title {
    font-size: 36px;
  }
  
  .creative-nav-scattered {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }
  
  .nav-shape {
    width: 55px;
    height: 55px;
  }
  
  .nav-star .nav-shape {
    width: 60px;
    height: 60px;
  }
  
  .nav-element.nav-duck,
  .nav-element.nav-dog {
    width: 75px !important;
    height: 75px !important;
  }
  
  .love-title {
    font-size: 64px;
  }
  
  .love-subtitle {
    font-size: 14px;
  }
  
  .decorative-shapes {
    gap: 0.8rem;
  }
  
  .shape-item {
    width: 45px;
    height: 45px;
  }
}
  
  .dog-container {
    width: 100px;
    height: 100px;
  }
}

/* ========================================
   第二屏：LOVE 主题区域
   ======================================== */
.love-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  position: relative;
  background: transparent;
}

.love-content {
  text-align: center;
  margin-bottom: 4rem;
}

.love-title {
  font-family: var(--font-title);
  font-size: 180px;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: -5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.love-o {
  position: relative;
  display: inline-block;
}

.cat-inside-o {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 45px;
  height: 55px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cat-inside-o:hover {
  transform: translate(-50%, -50%) scale(1.15);
}

.cat-inside-o:active {
  transform: translate(-50%, -50%) scale(0.9);
}

.cat-png-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: catFloat 3s ease-in-out infinite;
}

/* 喵喵叫气泡 */
.cat-meow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  font-size: 24px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  white-space: nowrap;
  z-index: 10;
}

.cat-meow.show {
  animation: meowPop 1.2s ease-in-out;
}

@keyframes meowPop {
  0% {
    opacity: 0;
    transform: translateX(-50%) scale(0) translateY(10px);
  }
  20% {
    opacity: 1;
    transform: translateX(-50%) scale(1.2) translateY(0);
  }
  40% {
    transform: translateX(-50%) scale(1) translateY(-5px);
  }
  60% {
    transform: translateX(-50%) scale(1.05) translateY(-10px);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) scale(0.8) translateY(-20px);
  }
}

@keyframes catFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(5deg);
  }
}

.love-subtitle {
  font-family: var(--font-body);
  font-size: 32px;
  color: var(--text-medium);
  margin-top: 1rem;
  letter-spacing: 2px;
}

/* 底部装饰图形 - 可切换的小猫和几何图形 */
.decorative-shapes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.shape-item {
  position: relative;
  width: 80px;
  height: 80px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.shape-item:hover {
  transform: scale(1.15);
}

.shape-item:active {
  transform: scale(0.95);
}

/* 几何图形和小猫的视觉容器 */
.shape-visual,
.cat-visual {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-visual {
  opacity: 0;
  transform: scale(0.3) rotate(-180deg);
}

.shape-visual {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* 切换状态：显示小猫 */
.shape-item.active-cat .shape-visual {
  opacity: 0;
  transform: scale(0.3) rotate(180deg);
}

.shape-item.active-cat .cat-visual {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* 自动切换动画 - 每 5 秒切换一次，丝滑交替变大效果 */
.shape-item.auto-toggle .shape-visual {
  animation: shapeVisualTransform 5s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.shape-item.auto-toggle .cat-visual {
  animation: catVisualTransform 5s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

/* 几何图形变形动画：与小猫交替变大 - 丝滑版本 */
@keyframes shapeVisualTransform {
  0%, 30% {
    /* 小猫显示，图形缩小待命 */
    opacity: 0;
    transform: scale(0.1) rotate(0deg);
  }
  35% {
    /* 开始从中心平滑出现 */
    opacity: 0.1;
    transform: scale(0.2) rotate(30deg);
  }
  42% {
    /* 加速放大 */
    opacity: 0.5;
    transform: scale(0.8) rotate(90deg);
  }
  48% {
    /* 继续放大到最大 */
    opacity: 0.9;
    transform: scale(1.08) rotate(150deg);
  }
  55%, 80% {
    /* 稳定显示，轻微呼吸效果 */
    opacity: 1;
    transform: scale(1.03) rotate(0deg);
  }
  85% {
    /* 开始平滑缩小 */
    opacity: 0.8;
    transform: scale(0.7) rotate(-30deg);
  }
  92% {
    /* 继续缩小 */
    opacity: 0.4;
    transform: scale(0.3) rotate(-60deg);
  }
  100% {
    /* 完全缩小消失 */
    opacity: 0;
    transform: scale(0.1) rotate(-90deg);
  }
}

/* 小猫变形动画：与图形交替变大 - 丝滑版本 */
@keyframes catVisualTransform {
  0%, 30% {
    /* 小猫正常显示，轻微呼吸 */
    opacity: 1;
    transform: scale(1.03) rotate(0deg);
  }
  35% {
    /* 开始平滑缩小 */
    opacity: 0.8;
    transform: scale(0.7) rotate(30deg);
  }
  42% {
    /* 加速缩小 */
    opacity: 0.4;
    transform: scale(0.3) rotate(60deg);
  }
  48% {
    /* 缩小到最小 */
    opacity: 0.1;
    transform: scale(0.15) rotate(90deg);
  }
  55%, 80% {
    /* 图形显示期间，小猫隐藏待命 */
    opacity: 0;
    transform: scale(0.1) rotate(120deg);
  }
  85% {
    /* 开始从中心平滑出现 */
    opacity: 0.1;
    transform: scale(0.2) rotate(90deg);
  }
  92% {
    /* 加速放大 */
    opacity: 0.5;
    transform: scale(0.8) rotate(30deg);
  }
  98% {
    /* 放大到最大 */
    opacity: 0.9;
    transform: scale(1.08) rotate(-30deg);
  }
  100% {
    /* 回到正常大小，完成循环 */
    opacity: 1;
    transform: scale(1.03) rotate(0deg);
  }
}

/* 几何图形样式 */
.shape-visual {
  border: 4px solid var(--text-dark);
}

.shape-rounded-square {
  width: 80px;
  height: 80px;
  background: #FF9E9E;
  border-radius: 20px;
}

.shape-rounded-square[data-color="pink"] {
  background: #FF9E9E;
}

.shape-rounded-square[data-color="green"] {
  background: #A0E7B5;
}

.shape-rounded-square[data-color="orange"] {
  background: #FFB347;
}

.shape-rounded-square-large {
  width: 100px;
  height: 100px;
  background: #FFB347;
  border-radius: 25px;
}

.shape-circle {
  width: 60px;
  height: 60px;
  background: #FFB347;
  border-radius: 50%;
}

/* 小猫图片样式 - 增大尺寸 */
.cat-svg-img {
  width: 95%;
  height: 95%;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

/* 不同颜色的小猫 */
.shape-item[data-color="pink"] .cat-svg-img {
  filter: drop-shadow(0 4px 8px rgba(255, 107, 138, 0.4)) hue-rotate(0deg);
}

.shape-item[data-color="orange"] .cat-svg-img {
  filter: drop-shadow(0 4px 8px rgba(255, 159, 69, 0.4)) hue-rotate(-30deg);
}

.shape-item[data-color="green"] .cat-svg-img {
  filter: drop-shadow(0 4px 8px rgba(93, 214, 160, 0.4)) hue-rotate(90deg);
}
