:root {
  --logo: #ff7300;
  --nav: #f45f5f;
  --body: #fac7c7;
  --font: #333;
  --footer: #eee;
  --a: #337ab7;
}

* {
  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;
  font-family: Rubik, Arial, Helvetica, sans-serif;
}
a {
  line-height: 20px;
  text-decoration: none;
  color: var(--a) !important;
  font-weight: 600;
}

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

strong {
  font-weight: bolder;
}

.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%;
  }
}

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

.navbar {
  background: var(--nav);
  z-index: 5;
}

.card {
  position: relative;
}

.card .card-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.458);
  color: white;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  z-index: 1;
}

.card:hover .card-title {
  opacity: 1;
}

.index_cate_name {
  color: #002a41;
  font-size: 19px;
  font-weight: 700;
  float: left;
  line-height: 17px;
}

.moregame {
  margin: 25px auto 0;
  width: 250px;
  text-align: center;
  color: #fff !important;
  font-size: 24px;
  padding: 20px 0;
  background-color: #008aff;
  font-weight: 700;
  position: relative;
}
.aboutus_intro {
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 18px;
  width: 100%;
  max-width: 1000px;
  float: left;
  font-weight: 400;
}
@media (max-width: 768px) {
  .card .card-title {
    font-size: 12px;
    padding: 2px 4px;
  }
}
