/* 导航菜单样式重置 */
#bs-example-navbar-collapse-1 {
  float: none !important;
  text-align: center !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 20px 0 !important;
  display: block !important;
  height: auto !important;
  overflow: visible !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* 导航菜单 */
#cl-effect-5 {
  display: inline-block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 导航列表 */
#cl-effect-5 .navbar-nav {
  display: inline-block !important;
  margin: 0 auto !important;
  padding: 0 !important;
  list-style: none !important;
  float: none !important;
}

/* 导航项 */
#cl-effect-5 .navbar-nav > li {
  display: inline-block !important;
  margin: 0 5px !important;
  float: none !important;
}

/* 导航链接 */
#cl-effect-5 .navbar-nav > li > a {
  display: block !important;
  padding: 10px 15px !important;
  color: #333 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  font-size: 14px !important;
  text-decoration: none !important;
  position: relative !important;
  background: transparent !important;
  border: none !important;
  transition: all 0.3s ease !important;
  cursor: pointer;
}

/* 悬停效果 */
#cl-effect-5 .navbar-nav > li > a:hover,
#cl-effect-5 .navbar-nav > li.active > a {
  color: #ff5000 !important;
  transform: translateY(-2px) !important;
}

/* 下划线动画 */
#cl-effect-5 .navbar-nav > li > a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 5px;
  left: 50%;
  background: #ff5000;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

#cl-effect-5 .navbar-nav > li > a:hover:after,
#cl-effect-5 .navbar-nav > li.active > a:after {
  width: 50%;
}

/* 游戏标题样式 */
.navbar-header .game-title {
  margin: 0;
  line-height: 1;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 15px rgba(255, 0, 0, 0.5), 0 0 30px rgba(255, 0, 0, 0.3);
  animation: glow 2s ease-in-out infinite alternate;
}

.navbar-header .game-title a {
  color: #fff !important;
  text-decoration: none !important;
  transition: none !important;
}

.navbar-header .game-title a:hover {
  color: #fff !important;
  transform: none !important;
}

.navbar-header .game-title a:after {
  display: none !important;
}

/* 响应式调整 */
@media (max-width: 768px) {
  #cl-effect-5 .navbar-nav > li {
    display: block !important;
    margin: 5px 0 !important;
  }

  #cl-effect-5 .navbar-nav > li > a {
    padding: 8px 15px !important;
  }

  .navbar-header .game-title {
    font-size: 24px;
  }
}
/* 游戏logo样式 */
.navbar-header .game-logo {
  text-align: center;
  padding: 10px 0;
  position: relative;
  z-index: 100;
  float: inherit;
}
.navbar-header .game-title {
  margin: 0;
  line-height: 1;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 0 15px rgba(255, 0, 0, 0.5), 0 0 30px rgba(255, 0, 0, 0.3);
  animation: glow 2s ease-in-out infinite alternate;
}
.navbar-header .game-title a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}
.navbar-header .game-title a:hover {
  text-shadow: 0 0 20px rgba(255, 0, 0, 0.8), 0 0 40px rgba(255, 0, 0, 0.6);
}
.navbar-header .red-moon {
  background: linear-gradient(45deg, #ff0000, #ff6b6b, #ff0000);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  display: inline-block;
}
.navbar-header .red-moon::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -3px;
  left: 0;
  background: linear-gradient(90deg, transparent, #ff0000, transparent);
  animation: shine 2s infinite;
}
.navbar-header .descend {
  color: #fff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
  margin-left: 5px;
}
.navbar-header .logo-subtitle {
  color: #aaa;
  font-size: 10px;
  letter-spacing: 4px;
  margin-top: 2px;
  text-transform: uppercase;
  display: block;
  line-height: 1.2;
}
@keyframes glow {
  from {
    filter: drop-shadow(0 0 3px rgba(255, 0, 0, 0.5));
  }
  to {
    filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.8));
  }
}
@keyframes shine {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}
@media (max-width: 768px) {
  .navbar-header .game-title {
    font-size: 20px;
  }
  .navbar-header .logo-subtitle {
    font-size: 8px;
    letter-spacing: 2px;
  }
}
