/* 全局背景和字体 */
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  height: 100%;
  background: url('http://api.hlz7.com/BA') no-repeat center center/cover;
  overflow: hidden;
}

/* 运行时间显示组件 */
.uptime-display {
  position: fixed;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px);
  border-radius: 15px;
  padding: 15px 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.uptime-display:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.uptime-text {
  font-size: 0.8em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 5px;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.uptime-value {
  font-size: 0.9em;
  font-weight: bold;
  background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* 移动端适配运行时间显示 */
@media (max-width: 600px) {
  .uptime-display {
    top: 10px;
    right: 10px;
    padding: 10px 15px;
    font-size: 0.85em;
  }
  
  .uptime-text {
    font-size: 0.7em;
  }
  
  .uptime-value {
    font-size: 0.8em;
  }
}

/* 背景模糊遮罩 */
.background-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.2);
  z-index: 0;
}

/* 主容器卡片样式 */
.container {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 5% auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
  text-align: center;
  color: #333;
}

/* 标题带渐变字体和阴影 */
h1 {
  font-size: 2em;
  background: linear-gradient(to right, #ff69b4, #8a2be2, #00bfff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* 公告栏样式 */
.announcement {
  background: rgba(255, 255, 255, 0.6);
  padding: 10px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 0.95em;
  transition: all 0.5s ease;
}

/* 搜索框优化样式 */
#searchInput {
  width: 90%;
  padding: 12px 20px;
  border-radius: 25px;
  border: none;
  margin-bottom: 20px;
  font-size: 1em;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  outline: none;
  transition: all 0.3s ease;
  color: #333;
}

#searchInput::placeholder {
  color: rgba(100, 100, 100, 0.6);
}

#searchInput:focus {
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transform: scale(1.01);
}

/* 可滚动的路径列表区域 */
.folder-list {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: #ff69b4 transparent;
}

.folder-list::-webkit-scrollbar {
  width: 6px;
}
.folder-list::-webkit-scrollbar-thumb {
  background-color: #ff69b4;
  border-radius: 4px;
}
.folder-list::-webkit-scrollbar-track {
  background: transparent;
}

/* 每一条路径样式卡片 */
.folder-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.4);
  margin: 10px 0;
  padding: 10px 20px;
  border-radius: 14px;
  transition: transform 0.2s ease;
  animation: fadeIn 0.4s ease forwards;
  transform: translateY(10px);
  opacity: 0;
}

.folder-item:hover {
  transform: scale(1.02);
}

/* 路径名样式 */
.folder-item span {
  background: linear-gradient(to right, #4facfe, #00f2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
}

/* 复制按钮 */
.copy-btn {
  background-color: #ff69b4;
  border: none;
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background-color: #ff4c9a;
  transform: scale(1.05);
}

.copy-btn:active {
  transform: scale(0.95);
  box-shadow: 0 0 8px rgba(255, 105, 180, 0.5);
}

/* 淡入动画 */
@keyframes fadeIn {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 移动端适配 */
@media (max-width: 600px) {
  .container {
    margin: 10% auto;
    width: 90%;
  }

  h1 {
    font-size: 1.5em;
  }

  #searchInput {
    width: 100%;
  }
}
/* 复制成功弹出提示 */
.toast {
  position: fixed;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  background: rgba(50, 50, 50, 0.85);
  color: #fff;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 0.95em;
  opacity: 0;
  z-index: 9999;
  transition: all 0.3s ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}