@charset "UTF-8";

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

html,
body,
div,
ol,
ul,
li,
ol,
h1,
h2,
h3,
h4,
p,
dl,
dt,
dd,
form,
a,
input,
textarea,
select,
label,
img,
button {
  margin: 0;
  padding: 0;
  font-weight: normal;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "微软雅黑", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
}

body {
  color: #333;
  background: #FFFFFF;
  min-width: 320px;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
}

a:hover {
  color: #0066cc;
}

img {
  border: 0;
  vertical-align: top;
  max-width: 100%;
  height: auto;
}

ul,
ol,
li {
  list-style: none;
}

button,
input {
  border: none;
  outline: none;
  font-family: inherit;
}

button {
  cursor: pointer;
}

/* ============= 顶部导航条 ============= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 70px;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-bottom: 1px solid #f0f0f0;
}

.navbar-brand {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  /* gap: 8px; */
}
.navbar-brand img {
  margin-right: 10px;
  width: 40px;
}

.navbar-brand:hover {
  color: #1abc9c;
}
.nav-links ul{float: right;}
.nav-links ul li{float: left;}
.nav-links ul li a{display: block;padding: 10px 15px;}
.nav-links ul li a:hover{color: #1abc9c;}
/* ============= 背景装饰 ============= */
.bg-decoration {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  opacity: 0.08;
  filter: blur(50px);
}

.shape-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
  border-radius: 50%;
  top: -100px;
  left: -100px;
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #16a085 0%, #148f77 100%);
  border-radius: 50%;
  bottom: -50px;
  right: -50px;
  animation: float 10s ease-in-out infinite 2s;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #48c9b0 0%, #1abc9c 100%);
  border-radius: 50%;
  top: 50%;
  right: 10%;
  animation: float 7s ease-in-out infinite 1s;
}

.shape-4 {
  width: 280px;
  height: 280px;
  background: linear-gradient(135deg, #0a9d7e 0%, #08866f 100%);
  border-radius: 50%;
  bottom: 10%;
  left: 5%;
  animation: float 9s ease-in-out infinite 1.5s;
}

.shape-5 {
  width: 220px;
  height: 220px;
  background: linear-gradient(135deg, #17bfa4 0%, #1abc9c 100%);
  border-radius: 50%;
  top: 20%;
  right: 30%;
  animation: float 6s ease-in-out infinite 2s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(20px);
  }
}

/* ============= 主容器 ============= */
.main-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.search-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 15px 20px;
}

.search-box {
  width: 100%;
  max-width: 900px;
}

/* ============= 头部区域 ============= */
.header-section {
  text-align: center;
  margin-bottom: 0px;
}

.title-wrapper {
  margin-bottom: 50px;
}

.main-title {
  font-size: 48px;
  font-weight: 700;
  background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  letter-spacing: -0.5px;
}

.icon-title {
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: bounce 3s ease-in-out infinite;
  width: 60px;
}

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

.subtitle {
  font-size: 18px;
  color: #666;
  font-weight: 300;
  letter-spacing: 1px;
}

.pic {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
}

.pic img {
  height: 200px;
  object-fit: contain;
}

/* ============= 表单样式 ============= */
.form {
  margin-top: 10px;
  margin-bottom: 30px;
}

.input-group {
  display: flex;
  gap: 10px;
  max-width: 700px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.search-input {
  flex: 1;
  min-width: 250px;
  height: 50px;
  padding: 0 25px;
  border: 2px solid #e8e8e8;
  font-size: 16px;
  border-radius: 50px;
  background: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.search-input:focus,
.search-input:hover {
  border-color: #1abc9c;
  background: #fff;
  box-shadow: 0 4px 16px rgba(26, 188, 156, 0.2);
}

.search-input::placeholder {
  color: #999;
}

.search-btn {
  min-width: 120px;
  height: 50px;
  padding: 0 30px;
  background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
  color: white;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(26, 188, 156, 0.35);
  cursor: pointer;
  border: none;
}
.search-btn img{
  width: 20px;
}

.search-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(26, 188, 156, 0.45);
}

.search-btn:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(26, 188, 156, 0.35);
}

.search-btn i {
  font-size: 18px;
}

.btn-text {
  display: inline-block;
}

/* ============= 搜索结果 ============= */
.content {
  display: none;
  margin-top: 30px;
}

.content.show {
  display: block;
}

.results-wrapper {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid #f0f0f0;
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.results-title {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.results-count {
  background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  min-width: 50px;
  text-align: center;
}

.left ul {
  list-style: none;
}

.left ul li {
  margin-bottom: 20px;
  padding: 18px 20px;
  border-radius: 10px;
  background: #f9f9f9;
  transition: all 0.3s ease;
  border-left: 4px solid #1abc9c;
  border: 1px solid #f0f0f0;
  border-left: 4px solid #1abc9c;
}

.left ul li:hover {
  background: #f0f7f5;
  box-shadow: 0 3px 12px rgba(26, 188, 156, 0.15);
  transform: translateX(3px);
}

.left ul li:last-child {
  margin-bottom: 0;
}

.left ul li a {
  display: block;
  text-decoration: none;
}

.left ul li a strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  word-break: break-word;
  line-height: 1.5;
}

.left ul li a strong span {
  color: #ff6b6b;
  font-weight: 700;
}

.left ul li a:hover strong {
  color: #667eea;
}

.left ul li .des {
  color: #666;
  font-size: 13px;
  line-height: 1.6;
  margin: 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.left ul li .host {
  color: #999;
  font-size: 12px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.left ul li .host a {
  display: none !important;
}

.left ul li .host span {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
}

/* ============= 页脚 ============= */
.footer {
  padding: 40px 20px 20px;
  text-align: center;
  background: linear-gradient(180deg, transparent 0%, rgba(26, 188, 156, 0.02) 100%);
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
}

.footer p {
  font-size: 13px;
  color: #999;
  margin: 0;
  letter-spacing: 0.5px;
}

/* ============= 响应式设计 ============= */
@media (max-width: 768px) {
  .navbar-brand {
    font-size: 16px;
  }

  .search-btn img{
    width: 16px;
  }

  .navbar-brand img{
    width: 30px;
  }
  .navbar{
    padding: 0 15px;
  }
  .nav-links ul li:nth-child(1){
    display: none;
  }
  .main-title {
    font-size: 32px;
  }
  .nav-links ul li a{
    padding: 10px 0;
    padding-left: 20px;
  }
  .footer p{
    font-size: 12px;
  }

  .icon-title {
    width: 40px;
  }

  .subtitle {
    font-size: 14px;
  }

  .pic img {
    max-width: 350px;
  }

  .input-group {
    gap: 8px;
  }

  .search-input {
    min-width: 200px;
    height: 45px;
    font-size: 14px;
  }

  .search-btn {
    min-width: 100px;
    height: 45px;
    padding: 0 20px;
    font-size: 14px;
  }

  .search-btn i {
    font-size: 16px;
  }

  /* .btn-text {
    display: none;
  } */

  .results-wrapper {
    padding: 20px;
    border-radius: 12px;
  }

  .results-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .results-title {
    font-size: 18px;
  }

  .left ul li {
    padding: 15px;
    margin-bottom: 15px;
  }

  .left ul li a strong {
    font-size: 15px;
  }

  .left ul li .des {
    font-size: 12px;
    -webkit-line-clamp: 2;
  }

  .left ul li .host {
    font-size: 11px;
  }
}

/* ============= 加载动画 ============= */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading {
  animation: spin 1s linear infinite;
}

/* ============= 滚动条样式 ============= */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(26, 188, 156, 0.5);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(26, 188, 156, 0.8);
}
