/* Reset & 基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif;
  background: linear-gradient(135deg, #0a0f1c 0%, #041528 100%);
  color: #fff;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  position: relative;
}

/* 可选：增加网格纹理 (科技感) */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(77, 163, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 163, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  width: 100%;
  background: rgba(8, 15, 30, 0.55);
  backdrop-filter: blur(12px);
  border-radius: 2rem;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(77, 163, 255, 0.25);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(77, 163, 255, 0.1) inset;
  transition: all 0.3s ease;
}

/* LOGO 样式 */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 2.5rem;
}

.logo img {
  height: 56px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(77, 163, 255, 0.3));
  transition: transform 0.2s ease;
}

.logo img:hover {
  transform: scale(1.02);
}

.logo span {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff, #4da3ff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: 1px;
}

/* 搜索框容器 */
.search-box {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 1.2rem;
}

.search-box input {
  flex: 1;
  max-width: 450px;
  padding: 14px 20px;
  font-size: 1rem;
  border: none;
  border-radius: 60px;
  outline: none;
  background: #0f172a;
  color: #eef5ff;
  border: 1px solid #2c4b7a;
  transition: all 0.2s;
  font-weight: 500;
}

.search-box input:focus {
  border-color: #4da3ff;
  box-shadow: 0 0 0 3px rgba(77, 163, 255, 0.3);
  background: #0a1120;
}

.search-box input::placeholder {
  color: #5a7a9a;
  font-weight: normal;
}

.search-box button {
  padding: 0 28px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 60px;
  background: linear-gradient(95deg, #1f4970, #0e2a44);
  color: #fff;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 1px;
  border: 1px solid rgba(77, 163, 255, 0.4);
}

.search-box button:hover {
  background: linear-gradient(95deg, #2a5f8a, #1a3f60);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(77, 163, 255, 0.3);
  border-color: #4da3ff;
}

/* 搜索引擎切换器 */
.engine-selector {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.engine-option {
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 30px;
  background: rgba(15, 25, 45, 0.7);
  color: #8aaec0;
  cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
  letter-spacing: 0.5px;
}

.engine-option.active {
  background: #1f6eb0;
  color: white;
  box-shadow: 0 0 6px #4da3ff;
}

.engine-option:hover:not(.active) {
  background: #1f4970;
  color: #cce5ff;
}

/* 快捷链接区域 */
.quick-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.8rem;
  margin: 1.5rem 0 1.8rem;
}

.quick-links a {
  color: #bbd4ff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 0;
  transition: all 0.2s;
  border-bottom: 1px solid transparent;
}

.quick-links a:hover {
  color: #4da3ff;
  border-bottom-color: #4da3ff;
  transform: translateY(-1px);
}

/* 底部装饰 */
.footer-note {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: #5a7d9e;
  border-top: 1px solid rgba(77, 163, 255, 0.2);
  padding-top: 1.2rem;
  letter-spacing: 0.5px;
}

/* 响应式适配 */
@media (max-width: 550px) {
  .container {
    padding: 1.8rem 1.2rem;
  }
  
  .logo span {
    font-size: 1.5rem;
  }
  
  .logo img {
    height: 44px;
  }
  
  .search-box {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .search-box input {
    max-width: 100%;
    width: 100%;
  }
  
  .search-box button {
    width: 120px;
    padding: 10px;
  }
  
  .quick-links {
    gap: 1rem;
  }
  
  .quick-links a {
    font-size: 0.8rem;
  }
  
  .engine-option {
    font-size: 0.7rem;
    padding: 3px 10px;
  }
}