:root {
  --nav: #edfab8;
  --body: #edfab8;
  --main: #ffe8cc;
  --button: #ff6b6b;
  --footer: #edfab8;
  --font: #333;
  --a: #333;
}

* {
  box-sizing: border-box;
}

body {
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
  margin: 0;
  color: var(--font);
  background: var(--body);
  background-size: contain;
}
html {
  font-size: 16px;
}
a {
  line-height: 20px;
  text-decoration: none;
  color: var(--a);
}

a:hover,
a:active {
  text-decoration: none;
}

strong {
  font-weight: bolder;
}
img {
  object-fit: cover;
}

.fx-r {
  display: flex;
  flex-direction: row;
}

.fx-h {
  display: flex;
  flex-direction: column;
}

.fx-ac {
  justify-content: center;
}

.fx-bc {
  align-items: center;
}

/* 定义全局滚动条样式 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  border-radius: 4px;
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: #c1c1c1;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* 回到顶部按钮样式 */
#back-to-top {
  font-size: 24px;
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: opacity 0.3s;
  color: white;
  border: none;
  border-radius: 50%;
  background-color: #007bff;
}

#back-to-top:hover {
  opacity: 0.8;
}

.back {
  z-index: 2;
  position: absolute;
  top: 5px;
  left: 5px;
  padding: 4px 10px;
  background-color: #fff;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;

  img {
    width: 10px;
    height: 10px;
    cursor: pointer;
    background-size: 100% 100%;
  }
}

.cateTitle {
  font-family: yanone kaffeesatz, arial, serif;
  color: #2d2d2d;
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* 介绍区域样式优化 */
.intro-section {
  background-color: var(--main);
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 2rem;
  margin: 1.5rem auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.intro-section:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.intro-section p {
  line-height: 1.8;
  color: #4a4a4a;
  margin-bottom: 1rem;
  text-align: justify;
}
.gameTitleFont {
  font-family: droid sans, arial, serif;
}

.navLogo {
  width: 32px;
  height: 32px;
}

.detailback {
  width: 55px;
  height: 35px;
  position: fixed;
  z-index: 3;
  top: 40px;
  left: 0px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
  box-shadow: 0 2px 10px 1px rgba(0, 0, 0, 0.76);
}

.detailback img {
  cursor: pointer;
}

.navbar {
  background: var(--nav);
}
@media (max-width: 768px) {
}
