/* semantic color variables for this project */
:root {
  --brand-100: #f2fefa;
  --brand-200: #e5fef8;
  --brand-300: #d7fcf6;
  --brand-400: #cbf9f6;
  --brand-500: #baf5f6;
  --brand-600: #87cbd3;
  --brand-700: #5da1b1;
  --brand-800: #3b778e;
  --brand-900: #235876;
  --info-300: #91a1ff;
  --black-100: #0c0d14;
  --success-100: #effcd1;
  --warning-100: #fefcce;
  --warning-200: #fef99e;
  --warning-300: #fef46e;
  --gray-10: #aaacb3;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  transition: color 0.5s, background-color 0.5s;
  line-height: 1.6;
  font-family: "Nunito", "Nunito Fallback", Arial, "Helvetica Neue", Helvetica,
    sans-serif;
  font-size: 15px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}

/* 响应式图片 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 响应式视频 */
video {
  max-width: 100%;
  height: auto;
}

/* 响应式表格 */
table {
  width: 100%;
  overflow-x: auto;
  display: block;
}

/* 平板设备 */
@media (max-width: 992px) {
  html {
    font-size: 15px;
  }

  body {
    font-size: 14px;
  }
}

/* 移动设备 */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  body {
    font-size: 14px;
  }
}

/* 小屏移动设备 */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  body {
    font-size: 13px;
  }
}

body {
  background: linear-gradient(180deg, #baf5f6 0%, #f5f6fc 50%) no-repeat;
  background-attachment: fixed;
  background-size: 100% 100%;
  color: #1b1c23;
  margin: 0;
  min-height: 100vh;
}

html {
  scrollbar-width: thin;
  scrollbar-color: #aaadbe transparent;
  scroll-behavior: smooth;
}

/* 自定义滚动条样式（Webkit浏览器） */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #8a8d9e;
}

a {
  -webkit-text-decoration: none;
  text-decoration: none;
  color: #1b1c23;
  transition: color 0.3s ease;
}

.page-container a {
  color: #000;
}

/* 全局响应式容器 */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* 平板设备 */
@media (max-width: 992px) {
  .container {
    padding: 0 15px;
  }
}

/* 移动设备 */
@media (max-width: 768px) {
  body {
    background-size: 100% auto;
  }

  .container {
    padding: 0 10px;
  }

  /* Element Plus 分页组件移动端优化 */
  .el-pagination {
    font-size: 12px !important;
  }

  .el-pagination .btn-prev,
  .el-pagination .btn-next,
  .el-pagination .el-pager li {
    min-width: 28px !important;
    height: 28px !important;
    line-height: 28px !important;
    font-size: 12px !important;
  }
}

/* 小屏移动设备 */
@media (max-width: 480px) {
  .container {
    padding: 0 8px;
  }

  /* Element Plus 按钮移动端优化 */
  .el-button {
    padding: 8px 12px !important;
    font-size: 13px !important;
  }

  /* Element Plus 分页组件小屏优化 */
  .el-pagination .btn-prev,
  .el-pagination .btn-next,
  .el-pagination .el-pager li {
    min-width: 24px !important;
    height: 24px !important;
    line-height: 24px !important;
    font-size: 11px !important;
  }
}

.el-header {
  display: flex;
  align-items: center;
  padding: 0 15px;
  height: 60px;
}
.el-main {
  box-sizing: border-box;
  display: block;
  overflow: auto;
}
.content {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}
.logo {
  height: 35px;
  cursor: pointer;
}

.el-footer {
  height: auto;
  color: #000;
  padding: 30px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
  font-size: 14px;
}
.el-footer .footer-col {
  flex: 1;
  min-width: 200px;
  max-width: 300px;
}
.el-footer a {
  color: inherit;
  text-decoration: none;
}
.el-footer .footer-title {
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 16px;
}
.el-footer .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  white-space: nowrap;
}
.el-footer .footer-text {
  font-size: 13px;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .content {
    max-width: 100%;
    padding: 0 15px;
  }
  .el-footer {
    gap: 15px;
    justify-content: flex-start;
  }
  .el-footer .footer-col {
    min-width: 180px;
  }
}

@media (max-width: 768px) {
  .content {
    width: 100% !important;
    padding: 0 10px;
  }
  .el-header {
    padding: 0 10px;
  }
  .el-footer {
    flex-direction: column;
    padding: 20px 15px;
    text-align: center;
    gap: 20px;
  }
  .el-footer .footer-col {
    width: 100%;
    max-width: 100%;
    min-width: auto;
  }
  .el-footer .footer-links {
    white-space: normal;
  }
  .el-footer .footer-text {
    font-size: 12px;
  }
  .el-footer .footer-title {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .logo {
    height: 28px;
  }
  .el-footer {
    font-size: 12px;
    padding: 15px 10px;
  }
  .el-footer .footer-title {
    font-size: 14px;
    margin-bottom: 8px;
  }
}

/* about.html */
.page-container {
  max-width: 900px;
  margin: 24px auto;
  padding: 16px;
  box-sizing: border-box;
}
.page-container .back-home{
  margin-bottom: 24px;
}
.page-container h1 {
  font-size: 24px;
  margin-bottom: 8px;
  line-height: 1.4;
}
.page-container h2 {
  font-size: 18px;
  margin-top: 16px;
  line-height: 1.4;
}
.page-container h3 {
  font-size: 16px;
  margin-top: 14px;
  margin-bottom: 8px;
  line-height: 1.4;
  font-weight: 600;
}
.page-container p {
  line-height: 1.6;
  margin-bottom: 12px;
}
.page-container ul {
  line-height: 1.6;
  margin-bottom: 12px;
  padding-left: 20px;
}
.page-container li {
  margin-bottom: 8px;
}
.page-container a {
  color: var(--brand-900);
  text-decoration: underline;
}

@media (max-width: 992px) {
  .page-container {
    padding: 16px 20px;
  }
}

@media (max-width: 768px) {
  .page-container {
    margin: 16px auto;
    padding: 12px 16px;
  }
  .page-container h1 {
    font-size: 22px;
  }
  .page-container h2 {
    font-size: 17px;
    margin-top: 14px;
  }
  .page-container h3 {
    font-size: 15px;
    margin-top: 12px;
  }
  .page-container ul {
    padding-left: 18px;
  }
}

@media (max-width: 480px) {
  .page-container {
    margin: 12px auto;
    padding: 10px 12px;
  }
  .page-container h1 {
    font-size: 20px;
  }
  .page-container h2 {
    font-size: 16px;
    margin-top: 12px;
  }
  .page-container h3 {
    font-size: 14px;
    margin-top: 10px;
  }
  .page-container p[data-v-2d73cf1f],
  .page-container ul {
    font-size: 14px;
  }
  .page-container ul {
    padding-left: 16px;
  }
  .page-container li {
    margin-bottom: 6px;
  }
}

/*loading-img*/
.game-cover-img {
  width: 100%;
  height: auto;
  background: linear-gradient(135deg, #f7fffd, #e0e0e0);
  animation: fadeIn 0.5s ease-in;
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: block;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.game-cover-img:hover {
  transform: scale(1.02);
  opacity: 0.95;
}
.game-cover-img[src="/logo.png"] {
  opacity: 0.5;
  filter: grayscale(100%);
}


/* pagination*/
.pagination {
  margin: 20px 0;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  font-size: 14px;
}

.pagination svg{
  width: 1em;
  height: 1em;
}

.pagination-prev,
.pagination-next{
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-num,
.pagination-prev,
.pagination-next{
  height: 30px;
  line-height: 30px;
  min-width: 30px;
}

.pagination-num.active,
.pagination-num:hover{
  color:#409eff;
}

/* email button */
.email-button {
  display: inline-block;
  padding: 6px 12px;
  margin-left: 4px;
  border-radius: 4px;
  border: none;
  background-color: transparent;
  color: var(--brand-900);
  text-decoration: underline;
  font-size: 14px;
  cursor: pointer;
}

.email-button:hover {
  background-color: #f5f5f5;
}