/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./src/app/landing.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
/* 颜色变量 */
:root {
  --primary-color: #00ffff;
  --secondary-color: #ff00ff;
  --bg-color: #000005;
  --text-color: #ffffff;
  --accent-color: #ffff00;
  --sun-color: #ffa500;
}

/* 视觉隐藏类 */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 动态背景容器 */
.dynamic-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  perspective: 1000px;
}

/* 背景层样式 */
.galaxy,
.solar-system,
.earth {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease-in-out, transform 30s ease-in-out;
  transform-origin: center center;
}

/* 视频容器改进 */
.video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
  background: var(--bg-color);
}

#mainVideo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: contain; /* 改为 contain，确保视频完整显示不被裁剪 */
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* 星空背景 */
.stars-container {
  position: fixed;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  pointer-events: none;
  perspective: 1000px;
  transform-style: preserve-3d;
  background: radial-gradient(ellipse at center, rgba(10, 10, 30, 0.3) 0%, rgba(0, 0, 5, 0.8) 100%);
}

/* 银河背景 */
.milky-way {
  position: absolute;
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  background: radial-gradient(ellipse at 30% 50%,
      rgba(100, 100, 150, 0.15) 0%,
      rgba(50, 50, 100, 0.08) 30%,
      transparent 60%);
  transform: rotate(-25deg);
  animation: milkyWayDrift 200s linear infinite;
}

@keyframes milkyWayDrift {
  0% {
    transform: rotate(-25deg) translateX(0);
  }

  100% {
    transform: rotate(-25deg) translateX(-10%);
  }
}

/* 星云效果 */
.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  animation: nebulaPulse 20s ease-in-out infinite;
}

@keyframes nebulaPulse {

  0%,
  100% {
    opacity: 0.2;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(1.2);
  }
}

/* 星星 - 推进效果 */
.star {
  position: absolute;
  border-radius: 50%;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

/* 星轨拖尾 */
.star::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400%;
  height: 2px;
  transform: translate(-100%, -50%);
  background: linear-gradient(to right, transparent 0%, currentColor 80%, transparent 100%);
  opacity: 0.6;
}

/* 星星光晕 */
.star::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: inherit;
  filter: blur(2px);
  opacity: 0.4;
}

/* 星星推进动画 */
@keyframes star-warp {
  0% {
    transform: translate(var(--start-x), var(--start-y)) scale(0.5);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    transform: translate(var(--end-x), var(--end-y)) scale(2);
    opacity: 0;
  }
}

/* 流星 */
.shooting-star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.8);
  animation: shootingStar 2s linear;
}

.shooting-star::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, transparent 100%);
  transform: translateX(-100px);
}

@keyframes shootingStar {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }

  100% {
    transform: translate(300px, 300px);
    opacity: 0;
  }
}

/* 球状闪电 (Ball Lightning) */
.lightning {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.ball-lightning {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,
      rgba(255, 255, 255, 1) 0%,
      rgba(200, 230, 255, 0.8) 20%,
      rgba(100, 180, 255, 0.6) 40%,
      rgba(50, 100, 255, 0.2) 60%,
      transparent 80%);
  box-shadow:
    0 0 20px rgba(100, 200, 255, 0.8),
    0 0 40px rgba(50, 150, 255, 0.5),
    0 0 80px rgba(0, 50, 150, 0.3);
  filter: brightness(1.5);
  animation: ball-lightning-move 2s ease-out forwards;
  will-change: transform, opacity;
}

@keyframes ball-lightning-move {
  0% {
    transform: translate(0, 0) scale(0.5);
    opacity: 0;
  }

  10% {
    opacity: 1;
    transform: translate(var(--move-x), var(--move-y)) scale(1.2);
  }

  80% {
    opacity: 0.8;
  }

  100% {
    transform: translate(calc(var(--move-x) * 1.5), calc(var(--move-y) * 1.5)) scale(0);
    opacity: 0;
  }
}

/* 全屏闪光效果 */
.lightning-flash-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at var(--flash-x) var(--flash-y),
      rgba(200, 220, 255, 0.15) 0%,
      rgba(150, 180, 255, 0.08) 30%,
      transparent 60%);
  pointer-events: none;
  z-index: 2;
  animation: screen-flash 0.3s ease-out;
}

@keyframes screen-flash {
  0% {
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  30% {
    opacity: 0.4;
  }

  50% {
    opacity: 0.8;
  }

  100% {
    opacity: 0;
  }
}

/* 按钮容器样式 - JS Driven Rotation */
.btn-container {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 80vmin;
  height: 80vmin;
  transform: translate(-50%, -50%);
  /* Animation handled by JS for better control */
  transform-style: preserve-3d;
  z-index: 4;
}

/* 优化后的科技感按钮 */
.btn {
  position: absolute;
  width: 80px;
  height: 80px;
  margin: -40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  /* Whiter glass */
  border: 1px solid rgba(255, 255, 255, 0.3);
  /* Pure white border */
  color: #ffffff;
  cursor: pointer;
  transition: all 0.4s ease;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
  z-index: 10;
  transform: scale(1.1);
}

/* 打字机文字效果 */
.typing-text {
  position: fixed;
  bottom: 8%;
  /* Moved down to avoid overlap */
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 24px;
  /* Smaller font */
  font-weight: 700;
  /* Bolder as requested */
  text-align: center;
  white-space: nowrap;
  overflow: visible;
  z-index: 5;
  opacity: 1;
  /* Fully visible */
  letter-spacing: 4px;
  /* Wider spacing */
  text-shadow:
    0 0 10px rgba(255, 255, 255, 0.8),
    0 0 20px rgba(100, 255, 200, 0.5),
    /* Greenish hint */
    0 0 30px rgba(100, 255, 200, 0.3);
}

.typing-char {
  display: inline-block;
  animation: char-explode 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes char-explode {
  0% {
    transform: scale(0) translateY(-20px);
    opacity: 0;
    filter: blur(10px);
  }

  50% {
    transform: scale(1.3) translateY(-5px);
    filter: blur(3px);
  }

  70% {
    transform: scale(0.95) translateY(2px);
    filter: blur(1px);
  }

  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
    filter: blur(0);
  }
}

/* 五星连珠 */
.planet-alignment {
  position: fixed;
  bottom: 20px;
  right: 20px;
  top: auto;
  left: auto;
  transform: none;
  /* Remove centering transform */
  width: 300px;
  /* Fixed size for the corner widget */
  height: 300px;
  z-index: 6;
  pointer-events: none;
}

.orbit-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  /* Scale down to fit corner */
  width: 100%;
  height: 100%;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0);
  transform: translate(-50%, -50%);
}

.planet-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform-origin: center center;
}

@keyframes planet-blink {
  0% {
    opacity: 1;
  }

  25% {
    opacity: 0.3;
  }

  50% {
    opacity: 0;
  }

  75% {
    opacity: 0.3;
  }

  100% {
    opacity: 1;
  }
}

@keyframes sun-blink {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  20% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(0.95);
  }

  40% {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(0.9);
  }

  50% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85);
  }

  60% {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(0.9);
  }

  80% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(0.95);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.planet-mercury {
  width: 12px;
  height: 12px;
  background:
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.3) 0%, transparent 30%),
    radial-gradient(circle at 35% 35%, #E8DCD0 0%, #D4C5B9 25%, #9B8B7E 50%, #6B5D52 100%);
  box-shadow:
    inset -4px -4px 8px rgba(0, 0, 0, 0.5),
    inset 3px 3px 6px rgba(255, 255, 255, 0.2),
    0 0 12px rgba(212, 197, 185, 0.6),
    0 0 20px rgba(212, 197, 185, 0.3),
    0 3px 6px rgba(0, 0, 0, 0.4);
  animation: planet-blink 8s ease-in-out infinite;
  animation-delay: 0s;
}

.planet-venus {
  background: radial-gradient(circle at 30% 30%, #f5deb3, #8b4513);
  box-shadow: inset -2px -2px 6px rgba(0, 0, 0, 0.7), 0 0 5px rgba(139, 69, 19, 0.5);
  animation: planet-blink 10s ease-in-out infinite;
  width: 18px;
  height: 18px;
  background: radial-gradient(circle at 30% 30%, #fff8dc, #cd853f);
  box-shadow: inset -3px -3px 8px rgba(0, 0, 0, 0.7), 0 0 10px rgba(255, 165, 0, 0.3);
  animation: planet-blink 12s ease-in-out infinite;
  animation-delay: 1s;
}

.planet-earth {
  width: 18px;
  height: 18px;
  background: radial-gradient(circle at 30% 30%, #4b9cd3, #1e3f66);
  box-shadow: inset -3px -3px 8px rgba(0, 0, 0, 0.8), 0 0 8px rgba(65, 105, 225, 0.4);
  animation: planet-blink 12s ease-in-out infinite;
  animation-delay: 2s;
}

.planet-earth::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
  animation: clouds-drift 20s linear infinite;
}

@keyframes clouds-drift {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.planet-mars {
  width: 14px;
  height: 14px;
  background: radial-gradient(circle at 30% 30%, #ff7f50, #8b0000);
  box-shadow: inset -2px -2px 6px rgba(0, 0, 0, 0.8), 0 0 8px rgba(255, 69, 0, 0.4);
  animation: planet-blink 14s ease-in-out infinite;
  animation-delay: 3s;
}

.planet-jupiter {
  width: 32px;
  height: 32px;
  background: linear-gradient(0deg, #8b4513, #f4a460, #d2691e, #8b4513);
  box-shadow: inset -4px -4px 12px rgba(0, 0, 0, 0.7), 0 0 12px rgba(210, 105, 30, 0.4);
  animation: planet-blink 16s ease-in-out infinite;
  animation-delay: 4s;
}

.planet-jupiter::after {
  content: '';
  position: absolute;
  width: 35%;
  height: 25%;
  top: 45%;
  left: 25%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(200, 80, 60, 0.6) 0%, rgba(180, 60, 40, 0.4) 40%, transparent 70%);
}

.central-sun {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transform: translate(-50%, -50%) translateZ(0px);
  transform-style: preserve-3d;
  background: radial-gradient(circle at 30% 30%, #FFF9E6 0%, #FFE66D 20%, #FFD700 40%, #FFA500 70%, #FF8C00 100%);
  box-shadow:
    0 0 25px rgba(255, 215, 0, 0.9),
    0 0 50px rgba(255, 165, 0, 0.7),
    0 0 75px rgba(255, 140, 0, 0.5),
    0 0 100px rgba(255, 140, 0, 0.3),
    inset -8px -8px 15px rgba(0, 0, 0, 0.2),
    0 15px 30px rgba(0, 0, 0, 0.4);
  animation: sun-blink 20s ease-in-out infinite;
  z-index: 10;
}

/* 音量控制按钮 */
.volume-control {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  width: 44px;
  /* Slightly smaller */
  height: 44px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 50% !important;

  /* Simple Minimalist Glass */
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  /* No heavy glow/gradient by default */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.volume-control:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.volume-control svg {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
  /* Make icon pop */
}

/* 加载动画 */
.loading-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--text-color);
  animation: spin 1s infinite linear;
  display: none;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* 备案号样式 */
.beian-info {
  position: fixed;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 1000;
  padding: 5px;
}

.beian-info a {
  color: #ffffff;
  text-decoration: none;
  font-size: 12px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.beian-info a:hover {
  opacity: 1;
}

/* 响应式设计 */
@media (max-width: 1200px) {
  .btn-container {
    width: 70vmin;
    height: 70vmin;
  }

  .btn {
    width: 70px;
    height: 70px;
    margin: -35px;
    font-size: 12px;
  }

  .typing-text {
    font-size: 20px;
  }

  .planet-mercury {
    width: 10px;
    height: 10px;
  }

  .planet-venus {
    width: 15px;
    height: 15px;
  }

  .planet-earth {
    width: 14px;
    height: 14px;
  }

  .planet-mars {
    width: 12px;
    height: 12px;
  }

  .planet-jupiter {
    width: 24px;
    height: 24px;
  }

  .planet-saturn {
    width: 20px;
    height: 20px;
  }

  .planet-uranus {
    width: 17px;
    height: 17px;
  }

  .planet-neptune {
    width: 16px;
    height: 16px;
  }

  .central-sun {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 768px) {
  #mainVideo {
    width: 100vw;
    height: 100vh;
    /* 改为 contain，确保移动端视频完整显示 */
    object-fit: contain;
  }

  .btn-container {
    width: 60vmin;
    height: 60vmin;
  }

  .btn {
    width: 60px;
    height: 60px;
    margin: -30px;
    font-size: 11px;
  }

  .typing-text {
    font-size: 18px;
    width: 90%;
    white-space: normal;
  }

  .planet-mercury {
    width: 8px;
    height: 8px;
  }

  .planet-venus {
    width: 13px;
    height: 13px;
  }

  .planet-earth {
    width: 12px;
    height: 12px;
  }

  .planet-mars {
    width: 10px;
    height: 10px;
  }

  .planet-jupiter {
    width: 20px;
    height: 20px;
  }

  .planet-saturn {
    width: 17px;
    height: 17px;
  }

  .planet-uranus {
    width: 15px;
    height: 15px;
  }

  .planet-neptune {
    width: 14px;
    height: 14px;
  }

  .central-sun {
    width: 26px;
    height: 26px;
  }

  #mainVideo {
    width: 100vw;
    height: 100vh;
    object-fit: cover;
  }
}

@media (max-width: 480px) {
  .btn-container {
    width: 50vmin;
    height: 50vmin;
  }

  .btn {
    width: 45px;
    height: 45px;
    margin: -22.5px;
    font-size: 9px;
  }

  .typing-text {
    font-size: 16px;
  }

  .planet-mercury {
    width: 6px;
    height: 6px;
  }

  .planet-venus {
    width: 10px;
    height: 10px;
  }

  .planet-earth {
    width: 9px;
    height: 9px;
  }

  .planet-mars {
    width: 8px;
    height: 8px;
  }

  .planet-jupiter {
    width: 16px;
    height: 16px;
  }

  .planet-saturn {
    width: 14px;
    height: 14px;
  }

  .planet-uranus {
    width: 12px;
    height: 12px;
  }

  .planet-neptune {
    width: 11px;
    height: 11px;
  }

  .central-sun {
    width: 20px;
    height: 20px;
  }
}
/*!***********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./src/app/styles/search.css ***!
  \***********************************************************************************************************************************************************************************************************************************************************************/
/* src/app/styles/search.css */
.search-page-root {
    --primary-color: #00ffff;
    --secondary-color: #ff00ff;
    --accent-color: #ffff00;
    --bg-color: #000022;
    --text-color: #ffffff;
    --gradient-1: linear-gradient(45deg, #00ffff33, #ff00ff33);
    --gradient-2: linear-gradient(135deg, #ff00ff33, #ffff0033);
    --neon-glow: 0 0 10px var(--primary-color), 0 0 20px var(--secondary-color);

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
    perspective: 1000px;
    min-height: 100vh;
}

.search-page-root * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.search-page-root canvas#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.search-page-root .container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.search-page-root header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
}

.search-page-root .header-content {
    text-align: center;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
    width: 100%;
}

.search-page-root .dna-helix {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    opacity: 0.3;
    pointer-events: none;
}

.search-page-root h1 {
    font-size: clamp(2.5em, 8vw, 5em);
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    animation: glitch 5s infinite;
}

.search-page-root .tagline {
    font-size: clamp(1.2em, 4vw, 1.8em);
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 2px;
}

.search-page-root .tech-section {
    padding: 50px 0;
    position: relative;
}

.search-page-root .tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    position: relative;
}

.search-page-root .tech-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(50px);
    opacity: 0;
}

.search-page-root .tech-item.visible {
    transform: translateY(0);
    opacity: 1;
}

.search-page-root .tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.search-page-root .tech-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

.search-page-root .tech-item:hover::before {
    opacity: 0.1;
}

.search-page-root .tech-item h2 {
    font-size: clamp(1.5em, 4vw, 2em);
    margin-bottom: 20px;
    color: var(--primary-color);
    position: relative;
}

.search-page-root .tech-item i {
    margin-right: 10px;
    font-size: 1.5em;
    vertical-align: middle;
}

.search-page-root .tech-item p {
    font-size: 1.1em;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
}

.search-page-root .cta-section {
    padding: 40px 20px;
    text-align: center;
    position: relative;
    background: var(--gradient-2);
    border-radius: 30px;
    margin: 30px 0;
    overflow: hidden;
    transform: perspective(1000px) rotateX(0deg);
    transition: transform 0.5s ease;
}

.search-page-root .cta-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.search-page-root .cta-section h2 {
    font-size: clamp(1.8em, 5vw, 2.5em);
    margin-bottom: 30px;
    color: var(--accent-color);
}

.search-page-root .cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--accent-color);
    color: var(--bg-color);
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.2em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.search-page-root .cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.search-page-root .cta-button:hover::before {
    opacity: 1;
}

.search-page-root footer {
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.search-page-root .footer-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--primary-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--primary-color) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
    animation: gridMove 20s linear infinite;
}

.search-page-root .icp-info {
    margin-top: 10px;
}

.search-page-root .icp-info a {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.search-page-root .icp-info a:hover {
    opacity: 1;
}

@keyframes gridMove {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(20px);
    }
}

@media (hover: none) and (pointer: coarse) {

    .search-page-root .custom-cursor,
    .search-page-root .cursor-dot {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .search-page-root .container {
        padding: 0 15px;
    }

    .search-page-root .tech-grid {
        grid-template-columns: 1fr;
    }

    .search-page-root .tech-item {
        padding: 20px;
    }

    .search-page-root .cta-section {
        margin: 20px 0;
        padding: 30px 15px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glitch {
    0% {
        text-shadow: 0.05em 0 0 var(--primary-color), -0.05em -0.025em 0 var(--secondary-color);
    }

    14% {
        text-shadow: 0.05em 0 0 var(--primary-color), -0.05em -0.025em 0 var(--secondary-color);
    }

    15% {
        text-shadow: -0.05em -0.025em 0 var(--primary-color), 0.025em 0.025em 0 var(--secondary-color);
    }

    49% {
        text-shadow: -0.05em -0.025em 0 var(--primary-color), 0.025em 0.025em 0 var(--secondary-color);
    }

    50% {
        text-shadow: 0.025em 0.05em 0 var(--primary-color), 0.05em 0 0 var(--secondary-color);
    }

    99% {
        text-shadow: 0.025em 0.05em 0 var(--primary-color), 0.05em 0 0 var(--secondary-color);
    }

    100% {
        text-shadow: -0.025em 0 0 var(--primary-color), -0.025em -0.025em 0 var(--secondary-color);
    }
}
/*!*********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./src/app/styles/chat.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************/
/* 基础样式变量定义 - Premium Quantum Glassmorphism Theme */
:root {
    --primary-color: #00e5ff; /* 赛博青 */
    --secondary-color: #9d00ff; /* 量子紫 */
    --light-primary: rgba(0, 229, 255, 0.1);
    --dark-primary: #0088aa;
    --success-color: #36B37E;
    --warning-color: #FFAB00;
    --danger-color: #FF5630;
    --neutral-dark: #e6e6ff; /* 极其明亮的浅蓝白，用于发光字 */
    --neutral-medium: #a8b2c1;
    --neutral-light: #6a7c92;
    --bg-light: #00000a; /* 宇宙深渊黑 */
    --bg-dark: #00000a;
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.6);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --font-sans: 'Orbitron', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --transition-normal: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

body {
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 1.5;
    color: var(--neutral-dark);
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at center, #050515 0%, #00000a 100%);
    transition: var(--transition-normal);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* 全量深空体积光发光球注入 Base Body！ */
body::before, body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -2;
    opacity: 0.4;
    animation: orbFloat 25s ease-in-out infinite alternate;
    pointer-events: none;
}
body::before {
    width: 700px; height: 700px; background: var(--primary-color); top: -200px; left: -100px;
}
body::after {
    width: 600px; height: 600px; background: var(--secondary-color); bottom: -150px; right: -150px; animation-delay: -10s;
}

@keyframes orbFloat {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(150px, 100px) scale(1.1); }
    66% { transform: translate(-100px, 200px) scale(0.9); }
    100% { transform: translate(-50px, -50px) scale(1.2); }
}

/* 导航栏 毛玻璃极致风格 */
.navigation {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border-right: 1px solid rgba(255,255,255,0.05);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 0.75rem 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    width: 80px;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
}

.navigation .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    margin: 0.5rem 0;
    transition: var(--transition-normal);
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    border-radius: 50%;
    cursor: pointer;
}

.navigation .nav-link svg {
    margin-bottom: 0.25rem;
    filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0));
    transition: var(--transition-normal);
}

.navigation .nav-link:hover {
    background: rgba(0, 229, 255, 0.1);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: inset 0 0 10px rgba(0,229,255,0.2);
}
.navigation .nav-link:hover svg {
    filter: drop-shadow(0 0 5px rgba(0, 229, 255, 0.8));
}

.navigation .nav-link.active {
    background: rgba(0, 229, 255, 0.2);
    color: var(--primary-color);
    box-shadow: inset 0 0 10px rgba(0,229,255,0.3), 0 0 15px rgba(0,229,255,0.2);
}
.navigation .nav-link.active svg {
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 1));
}

/* 侧边栏样式 */
.sidebar {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(0,0,0,0.2));
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    transition: var(--transition-normal);
    width: 280px;
    height: 100vh;
    position: fixed;
    left: 80px;
    top: 0;
    z-index: 99;
    padding: 1rem;
    overflow-y: auto;
}

.chat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.chat-list li.chat-title .card {
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(0,0,0,0.2));
    border: 1px solid rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    color: var(--neutral-dark);
    box-shadow: var(--shadow-sm);
    margin-bottom: 0.75rem;
    padding: 1rem;
    cursor: pointer;
}

.chat-list li.chat-title .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 229, 255, 0.15);
    border-color: rgba(0, 229, 255, 0.3);
}

.chat-list li.chat-title.active .card {
    background: rgba(0, 229, 255, 0.15);
    border-color: var(--primary-color);
    box-shadow: inset 0 0 10px rgba(0, 229, 255, 0.2), 0 0 15px rgba(0, 229, 255, 0.1);
}

/* Main Chat Area (透明，暴露深空背景) */
.chat-main {
    margin-left: 360px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: transparent;
    position: relative;
    z-index: 1;
}

.chat-content {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    scroll-behavior: smooth;
}

/* 聊天消息 全息气泡 */
.message {
    margin-bottom: 1.5rem;
    width: 100%;
    animation: messagePopIn 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.message-bot {
    align-items: flex-start;
}

.message-user {
    align-items: flex-end;
}

.message-content {
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    transition: var(--transition-normal);
    margin-top: 0.25rem;
    padding: 1rem 1.25rem;
    max-width: 85%;
    word-break: break-word;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.message-bot .message-content {
    background: linear-gradient(135deg, rgba(157, 0, 255, 0.18), rgba(157, 0, 255, 0.05));
    border-radius: 18px 18px 18px 0;
    color: #fff;
    border-left: 1px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(157, 0, 255, 0.2);
}

.message-user .message-content {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.18), rgba(0, 229, 255, 0.05));
    border-radius: 18px 18px 0 18px;
    color: #fff;
    border-right: 1px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.2);
}

/* 聊天输入框悬浮底栏 */
.chat-footer {
    padding: 1.5rem 2rem;
    background: linear-gradient(to top, rgba(0, 0, 10, 0.9), rgba(0, 0, 10, 0.0));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-top: 1px solid rgba(0, 229, 255, 0.1);
    z-index: 10;
}

.chat-input-wrapper {
    position: relative;
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.chat-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    color: white;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.5);
    font-size: 0.95rem;
    line-height: 1.5;
    transition: var(--transition-normal);
    min-height: 54px;
    max-height: 150px;
    resize: none;
    backdrop-filter: blur(10px);
}

.chat-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.chat-input:focus {
    outline: none;
    background: rgba(0, 0, 0, 0.6);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.3), inset 0 0 10px rgba(0, 229, 255, 0.1);
}

.btn-send {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-full);
    border: none;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.btn-send:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.6), 0 0 40px rgba(157, 0, 255, 0.4);
}

.btn-send svg {
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.8));
}

/* 头像样式 */
.avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
    border: 2px solid rgba(0, 229, 255, 0.5);
    background: rgba(0, 0, 0, 0.5);
}

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

/* Markdown样式增强 */
.markdown-body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
}

.markdown-body p {
    margin-bottom: 1em;
}

.markdown-body code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--primary-color);
}

.markdown-body pre {
    background: rgba(0, 0, 0, 0.5);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    margin: 1rem 0;
    overflow-x: auto;
    color: #abb2bf;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.5);
}

/* 思考动画 */
.wave {
    display: flex;
    padding: 0.5rem;
    align-items: center;
}

.wave .dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: waveDot 1.4s infinite;
    margin: 0 3px;
    box-shadow: 0 0 8px var(--primary-color);
}

.wave .dot:nth-child(2) { animation-delay: 0.2s; }
.wave .dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes waveDot {
    0%, 60%, 100% { transform: translateY(0); box-shadow: 0 0 8px var(--primary-color); }
    30% { transform: translateY(-8px); box-shadow: 0 0 15px var(--primary-color); }
}

@keyframes messagePopIn {
    0% { opacity: 0; transform: translateY(15px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* 深色模式兼容（统一空间主题，防止 Next-themes 冲突或破坏外观） */
body.dark-theme, body.dark {
    --bg-light: #00000a;
    --neutral-dark: #e6e6ff;
    --light-primary: rgba(0, 229, 255, 0.1);
}

body.dark-theme .sidebar,
body.dark-theme .chat-main,
body.dark-theme .chat-footer,
body.dark .sidebar,
body.dark .chat-main,
body.dark .chat-footer {
    background: transparent;
}

body.dark-theme .chat-input,
body.dark .chat-input {
    background: rgba(255, 255, 255, 0.03);
}

body.dark-theme .chat-list li.chat-title .card,
body.dark .chat-list li.chat-title .card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-theme .chat-list li.chat-title.active .card,
body.dark .chat-list li.chat-title.active .card {
    background: rgba(0, 229, 255, 0.15);
    border-color: var(--primary-color);
}

body.dark-theme .message-bot .message-content,
body.dark .message-bot .message-content {
    background: linear-gradient(135deg, rgba(157, 0, 255, 0.15), rgba(157, 0, 255, 0.05));
    color: #fff;
}

body.dark-theme .message-user .message-content,
body.dark .message-user .message-content {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(0, 229, 255, 0.05));
    color: #fff;
}
