body {
  color: #c5c5c5;
  background-color: #222222;
  background-image: url(QQ20260101-170235.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
}
.navbar {
  display: flex;
  padding: 20px 20px;
  background-color: rgba(37, 37, 37, 0);
  color: #000000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}
* {
  margin: 0px;
  padding: 0px;
}
.logo {
  height: 60px;
  width: auto;
}
a {
  text-decoration: none;
  color: #ffffff;
}
.presentation-svg {
  width: 20rem;
  height: auto;
  margin-top: 20px;
  margin-right: 20px;
}
.presentation {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 300px;
}
.presentation div p {
  font-size: 20px;
  color: #777777;
  text-align: center;
}
.footer {
  background-color: #313131;
  color: #ffffff;
  padding: 20px;
  display: flex;
  justify-content: space-around;
}
.footer div a {
  color: #ffffff;
}
.footer-section-bottom {
  background-color: #313131;
  color: #ffffff;
  text-align: center;
}
.footer-section-bottom a {
  color: #ffffff;
  text-decoration: underline;
}
.status-latency {
  margin-top: 10px;
  padding: 10px;
  border-radius: 12px;
  background-color: #4caf502a;
  color: #4caf50;
  font-size: 18px;
  font-weight: bold;
}
.footer-container {
  /* position: fixed; */
  bottom: 0;
  left: 0;
  right: 0;
}
/* 响应式设计 */
@media screen and (max-width: 870px) {
  .status-content {
    margin: 120px 20px 0px 20px;
  }
}
@media screen and (max-width: 1000px) {
  .presentation {
    flex-direction: column;
    align-items: center;
  }
}
@media screen and (max-width: 570px) {
  .status-bottom-ltme {
    flex-direction: column;
  }
  .status-button {
    padding: 20px 12vh;
    margin-bottom: 10px;
    margin-left: 10px;
    margin-right: 10px;
  }
  .nav-right {
    display: none !important;
  }
  .status-nav-right {
    display: none !important;
  }
  .navbar {
    flex-direction: column;
  }
  .status-nav {
    flex-direction: column;
  }
  .status-bottom-ltme {
    box-shadow: 0px 0px 0px rgba(116, 116, 116, 0.5);
  }
}
@media screen and (min-width: 570px) {
  .nav-mobilephone {
    display: none !important;
  }
}

/* 清除浏览器按钮默认样式 */
button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
  border: none;
  outline: none;
  background: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus {
  outline: none;
  border: none;
}

button:active,
input[type="button"]:active {
  outline: none;
  border: none;
}

/* MOTD颜色样式 */
.motd-container {
  display: inline;
  font-size: inherit;
  line-height: inherit;
}

.motd-container span {
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  transition: color 0.3s ease;
}

/* 确保MOTD标题有足够的空间显示颜色文本 */
.status-title h2 {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  word-break: break-word;
}
.nav-mobilephone {
  height: 40px;
  width: 40px;
  border: 1px solid #575757;
  border-radius: 12px;
  position: absolute;
  top: 30px;
  right: 20px;
}

/* 二级菜单样式 */
.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 150px;
  z-index: 1001;
  display: none;
  flex-direction: column;
  backdrop-filter: blur(10px);
}

.dropdown-menu.show {
  display: flex;
}

.dropdown-menu a {
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: #f5f5f5;
}

.dropdown-menu a:last-child {
  border-bottom: none;
}

/* 移动端适配 */
@media screen and (max-width: 570px) {
  .dropdown-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    min-width: auto;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  .title-container {
    font-size: 0.7em;
  }
}
.display-loader {
  height: calc(90vh - 160px);
  margin-top: 160px;
}
.display-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.title-container {
  display: flex;
}
.nav-right{
    display: flex;
    gap: 20px; /* 默认间距 */
    align-items: center;
    flex-wrap: wrap;
}

.nav-right a {
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.nav-right a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

 .title-container-right {
      margin-top: 300px; /* 添加向下移动的间距 */
  }



/* 响应式自动调节间距 */
@media screen and (max-width: 1200px) {
    .nav-right {
        gap: 15px;
    }
    .nav-right a {
        padding: 6px 12px;
        font-size: 0.95em;
    }
}

@media screen and (max-width: 900px) {
    .nav-right {
        gap: 12px;
    }
    .nav-right a {
        padding: 5px 10px;
        font-size: 0.9em;
    }
}

@media screen and (max-width: 768px) {
    .nav-right {
        gap: 10px;
    }
    .nav-right a {
        padding: 4px 8px;
        font-size: 0.85em;
    }
}

@media screen and (max-width: 570px) {
    .nav-right {
        display: none !important;
    }
}

/* 动态调整：当链接数量增加时自动减小间距 */
.nav-right:has(a:nth-child(3)) {
    gap: 15px;
}

.nav-right:has(a:nth-child(4)) {
    gap: 12px;
}

.nav-right:has(a:nth-child(5)) {
    gap: 10px;
}

.nav-right:has(a:nth-child(6)) {
    gap: 8px;
}
.join-guidance{
  display: flex;
  flex-direction: column;
  align-items: center;
}
