body {
  margin: 0;
  padding: 0;
  background-color: #0a0f0f;
  font-family: "Segoe UI", sans-serif;
  color: #cdecec;
  overflow-x: hidden;
}

/* Header */
header {
  position: absolute;
  top: 20px;
  right: 30px;
  z-index: 10;
}

.menu-icon {
  font-size: 28px;
  color: #00ffe0;
  cursor: pointer;
  user-select: none;
  text-shadow: 0 0 10px #00ffe0;
  transition: transform 0.2s;
}

.menu-icon:hover {
  transform: scale(1.1);
}

/* Center Logo & Search */
.center-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.logo-img {
  width: 80px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 5px #00ffe0);
}

.site-title {
  font-size: 2em;
  margin: 0;
  color: #00ffe0;
  text-shadow: 0 0 15px #00ffe0;
}

.search-box input {
  margin-top: 20px;
  padding: 10px 15px;
  font-size: 16px;
  width: 280px;
  border: none;
  border-radius: 5px;
  background-color: #121c1c;
  color: #00ffe0;
  box-shadow: 0 0 10px #00ffe0 inset;
}

/* Side Menu */
.side-menu {
  position: fixed;
  top: 0;
  right: -260px;
  height: 100%;
  width: 250px;
  background: #0e1111;
  box-shadow: -2px 0 10px rgba(0,255,224,0.2);
  padding: 20px;
  color: #cdecec;
  transition: right 0.3s ease;
  z-index: 100;
}

.side-menu.active {
  right: 0;
}

.side-menu h3 {
  margin-top: 0;
  font-size: 1.3em;
  color: #00ffe0;
  text-shadow: 0 0 10px #00ffe0;
}

.menu-item {
  margin: 15px 0;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.3s;
}

.menu-item:hover {
  color: #ff4e4e;
  text-shadow: 0 0 6px #ff4e4e;
}

.submenu {
  margin-left: 15px;
  display: none;
  font-weight: normal;
  font-size: 0.95em;
  color: #88ffff;
}

.menu-item.open .submenu {
  display: block;
}

/* 警报红灯效果（可扩展） */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 10%, rgba(255, 0, 0, 0.05), transparent 60%);
  pointer-events: none;
  z-index: 1;
  animation: pulseRed 6s infinite;
}

@keyframes pulseRed {
  0%, 100% {
    opacity: 0.02;
  }
  50% {
    opacity: 0.06;
  }
}


