@charset "UTF-8";
:root {
  --vt-c-white: #ffffff;
  --vt-c-white-soft: #f8f8f8;
  --vt-c-white-mute: #f2f2f2;
  --vt-c-black: #181818;
  --vt-c-black-soft: #222222;
  --vt-c-black-mute: #282828;
  --vt-c-indigo: #2c3e50;
  --vt-c-primary: #0c0d14;
  --vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
  --vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
  --vt-c-divider-dark-1: rgba(84, 84, 84, 0.65);
  --vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);
  --vt-c-text-light-1: var(--vt-c-indigo);
  --vt-c-text-light-2: rgba(60, 60, 60, 0.66);
  --vt-c-text-dark-1: var(--vt-c-white);
  --vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
}
:root {
  --color-background: var(--vt-c-primary);
  --color-background-soft: var(--vt-c-white-soft);
  --color-background-mute: var(--vt-c-white-mute);
  --color-border: var(--vt-c-divider-light-2);
  --color-border-hover: var(--vt-c-divider-light-1);
  --color-heading: var(--vt-c-text-light-1);
  --color-text: var(--vt-c-text-light-1);
  --section-gap: 160px;
}
:root {
  --brand-0: #fff;
  --brand-20: #e1d9ff;
  --brand-30: #d2c6ff;
  --brand-40: #c3b3ff;
  --brand-50: #b4a1ff;
  --brand-60: #a48eff;
  --brand-70: #957bff;
  --brand-80: #8668ff;
  --brand-100: #6842ff;
  --brand-120: #5335cc;
  --brand-130: #492eb3;
  --brand-140: #3e2899;
  --brand-150: #342180;
  --brand-160: #2a1a66;
  --brand-180: #150d33;
  --brand-200: #07050f;
  --black-10: #474967;
  --black-20: #434561;
  --black-40: #373952;
  --black-50: #2f3148;
  --black-60: #28293d;
  --black-70: #212233;
  --black-80: #1a1b28;
  --black-90: #13141e;
  --black-100: #0c0d14;
  --white-10: #666a7f;
  --white-20: #767a8e;
  --white-30: #878a9e;
  --white-40: #989bae;
  --white-50: #aaadbe;
  --white-60: #bdbfce;
  --white-70: #d0d2de;
  --white-80: #e5e6ee;
  --white-90: #eff0f7;
  --white-100: #f9faff;
  --success-100: #4af0a7;
  --alert-40: #f59ebe;
  --alert-60: #f16e9d;
  --alert-100: #e70d5c;
  --warning-100: #ffac4a;
  --warning-200: #3c2a16;
}
.halloween {
  --brand-70: #da7f14;
  --brand-80: #da7f14;
  --brand-100: #da7f14;
  --brand-130: #da7f14;
}
:root {
  --sidebar-width: 200px;
  --sidebar-collapsed-width: 60px;
  --sidebar-item-height: 34px;
  --sidebar-icon-size: 22px;
  --header-height: 60px;
  --header-search-width: 262px;
  --header-logo-height: 35px;
  --header-mobile-height: 56px;
  --header-tablet-height: 60px;
  --header-mobile-logo-height: 30px;
  --drawer-width: 400px;
  --game-thumb-width: 178px;
  --game-thumb-height: 100px;
  --game-thumb-aspect-ratio: 100/178;
  --game-thumb-mobile-width: 168px;
  --originals-portrait-width: 271px;
  --originals-portrait-mobile-width: 160px;
  --originals-square-width: 160px;
  --originals-square-mobile-width: 160px;
  --originals-landscape-width: 178px;
  --originals-landscape-mobile-width: 168px;
  --font-size-body: 14px;
  --font-size-button: 16px;
  --font-size-body-small: 11.2px;
  --font-size-body-xsmall: 0.7rem;
  --font-size-h1: 24px;
  --font-size-h1-small: 1.5rem;
  --font-size-h2: 1.2rem;
  --font-size-h2-small: 0.875rem;
  --font-size-h3: 1rem;
  --font-size-h5: 20px;
  --base-unit: 8px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --color-background: var(--vt-c-black);
    --color-background-soft: var(--vt-c-black-soft);
    --color-background-mute: var(--vt-c-black-mute);
    --color-border: var(--vt-c-divider-dark-2);
    --color-border-hover: var(--vt-c-divider-dark-1);
    --color-heading: var(--vt-c-text-dark-1);
    --color-text: var(--vt-c-text-dark-2);
  }
}
*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
}

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

ul,
li {
  margin: 0;
  padding: 0;
  list-style: none;
}

html {
  width: 100%;
  height: 100%;
  scrollbar-width: thin;
  scrollbar-color: #aaadbe transparent;
}

body {
  width: 100%;
  height: 100%;
  color: var(--color-text);
  background: var(--color-background);
  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;
  color: #fff;
  margin: 0;
}

.el-container {
  height: 100% !important;
  box-sizing: border-box;
  display: flex;
  flex: 1;
  flex-basis: auto;
  flex-direction: row;
  min-width: 0;
}

.el-container.is-vertical {
  flex-direction: column;
}

.el-header {
  --el-header-padding: 0;
  --el-header-height: 60px;
  box-sizing: border-box;
  flex-shrink: 0;
  height: var(--el-header-height);
  padding: var(--el-header-padding);
}

#header {
  background-color: #212233e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-sider-btn {
  border-radius: 30px;
  -webkit-transition: all 250ms ease;
  transition: all 250ms ease;
  border: none;
  cursor: pointer;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  font-family: "Nunito", "Nunito Fallback";
  font-weight: 800;
  font-size: 16px;
  box-sizing: border-box;
  padding: 0;
  background: transparent;
  color: #eff0f7;
  height: 48px;
  width: 48px;
  margin-right: 4px;
}

.header-sider-svg {
  display: inline-block;
  fill: currentcolor;
  height: 24px;
  width: 24px;
}

.logo_box,
.logo_box a {
  display: flex;
  align-items: center;
}

.logo {
  margin-left: 10px;
  height: 35px;
  border-radius: 3px;
  cursor: pointer;
}

#content {
  height: calc(100% - 60px) !important;
}

.el-aside {
  box-sizing: border-box;
  flex-shrink: 0;
  overflow: auto;
  width: var(--sidebar-width, 300px);
  transition: visibility 0s, all 0.15s ease-in-out;
}

.sidebar_container {
  width: 100%;
  height: 100%;
  display: flex;
  padding-top: 10px;
  padding-bottom: 30px;
  flex-direction: column;
  overflow: auto;
  overflow-x: hidden;
  overflow-anchor: none;
  scrollbar-width: none;
  border-right: 1px solid #28293d;
}

.sidebar_link {
  display: flex;
  padding: 0;
  margin-bottom: 10px;
  text-decoration: none;
  border-left: 6px solid transparent;
  transition: border-left-color 0.2s ease-in-out,
    background-color 0.2s ease-in-out;
  border-radius: 0 4px 4px 0;
}

.sidebar_link img {
  padding: 0 18px;
  width: 60px;
  height: 34px;
}

.sidebar_labelContainer {
  color: #fff;
  line-height: 34px;
  transition: color 0.2s ease-in-out, transform 0.2s ease-in-out;
  padding-left: 18px;
}

.sidebar_link:hover:not(.active) .sidebar_labelContainer {
  color: #ffffff80;
  transform: translate(7px);
}

.sidebar_link.active {
  border-left-color: #a48eff;
  background-color: rgba(164, 142, 255, 0.1);
}

.sidebar_link.active .sidebar_labelContainer {
  color: #a48eff;
  font-weight: 700;
  transform: translate(0);
}

.titlebox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 0 10px;
}

.titlebox h2 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

.titlebox a {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.titlebox img {
  width: 35px;
  height: 35px;
}

.el-main {
  --el-main-padding: 20px;
  box-sizing: border-box;
  display: block;
  flex: 1;
  flex-basis: auto;
  overflow: auto;
  padding: var(--el-main-padding);
}

/* 分页组件样式 */
.game-pagination {
  display: flex;
  width: fit-content;
  justify-content: center;
  margin: 30px auto;
  align-items: center;
  gap: 8px;
  background-color: var(--black-90);
  border-radius: 60px;
  padding: 10px 20px;
}

.el-pagination.button {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  background: var(--brand-100);
  min-width: 80px;
  height: 40px;
  user-select: none;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.1s ease-in;
  padding: 0 16px;
}

.el-pagination.button:hover:not(:disabled) {
  background: var(--brand-130);
}

.el-pagination.button:disabled {
  background-color: var(--black-100);
  color: var(--white-60);
  cursor: not-allowed;
  opacity: 0.5;
}

.el-pager {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px;
  align-items: center;
}

.el-pager li {
  background: none;
  color: #fff;
  border-radius: 50px;
  font-size: 16px;
  border: 1px solid transparent;
  width: 40px;
  height: 40px;
  padding: 8px;
  min-width: 40px;
  margin: 0 2px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.1s ease-in;
}

.el-pager li:hover:not(.is-active) {
  background-color: var(--brand-100);
  color: #fff;
}

.el-pager li.is-active {
  border: 1px solid var(--brand-100);
  color: #fff;
  background-color: rgba(164, 142, 255, 0.2);
}

.el-pager li.is-active:hover {
  background-color: rgba(164, 142, 255, 0.2);
}

/* 响应式设计 - 移动端适配 */

/* 手机端 (< 768px) */
@media (max-width: 767px) {
  .el-header {
    --el-header-height: 56px;
    height: var(--el-header-height);
  }

  #header {
    padding: 0 10px;
  }

  .header-sider-btn {
    height: 40px;
    width: 40px;
    margin-right: 8px;
  }

  .header-sider-svg {
    height: 20px;
    width: 20px;
  }

  .logo {
    height: 30px;
    margin-left: 5px;
  }

  #content {
    height: calc(100% - 56px) !important;
  }

  .el-aside {
    position: fixed;
    left: 0;
    top: 56px;
    height: calc(100% - 56px);
    z-index: 1000;
    background-color: var(--black-100);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.3);
  }

  .el-main {
    --el-main-padding: 10px;
    padding: var(--el-main-padding);
    width: 100%;
  }

  .sidebar_container {
    padding-top: 15px;
    padding-bottom: 20px;
  }

  .sidebar_link {
    margin-bottom: 8px;
    padding: 8px 0;
  }

  .sidebar_labelContainer {
    font-size: 14px;
    line-height: 32px;
    padding-left: 15px;
  }

  /* 移动端遮罩层 */
  .sidebar-overlay {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    transition: opacity 0.15s ease-in-out;
  }

  .sidebar-overlay.active {
    display: block;
  }

  /* 移动端触摸优化 */
  .sidebar_link {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .header-sider-btn {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .titlebox {
    padding: 0 5px;
    margin-bottom: 15px;
  }

  .titlebox h2 {
    font-size: 18px;
  }

  .titlebox a {
    font-size: 12px;
    -webkit-tap-highlight-color: rgba(164, 142, 255, 0.3);
    touch-action: manipulation;
  }

  .game-pagination {
    margin: 20px auto;
    padding: 8px 15px;
    gap: 6px;
  }

  .el-pagination.button {
    min-width: 60px;
    height: 36px;
    font-size: 12px;
    padding: 0 12px;
  }

  .el-pager li {
    width: 36px;
    height: 36px;
    font-size: 14px;
    min-width: 36px;
  }
}

/* iPad端 (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .el-header {
    --el-header-height: 60px;
    height: var(--el-header-height);
  }

  #content {
    height: calc(100% - 60px) !important;
  }

  .el-aside {
    width: 180px;
  }

  .el-main {
    --el-main-padding: 15px;
    padding: var(--el-main-padding);
  }

  .sidebar_labelContainer {
    font-size: 14px;
  }

  .titlebox {
    padding: 0 8px;
    margin-bottom: 18px;
  }

  .titlebox h2 {
    font-size: 19px;
  }
}

/* 桌面端 (> 1024px) */
@media (min-width: 1025px) {
  .el-aside {
    width: 200px;
  }
}

/* Footer 样式 */
.el-footer {
  background-color: rgba(0, 0, 0, 0.8);
  color: rgba(255, 255, 255, 0.7);
  padding: 40px 20px 20px;
  font-size: 14px;
  line-height: 1.6;
  min-height: auto;
  height: auto;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 30px;
  margin-bottom: 20px;
  justify-content: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--brand-100, #a48eff);
}

.footer-copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.footer-section {
  margin-bottom: 20px;
}

.footer-section h3 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  margin-bottom: 8px;
}

/* 响应式设计 */
@media (max-width: 767px) {
  .el-footer {
    padding: 30px 15px 15px;
    font-size: 12px;
  }

  .footer-links {
    gap: 15px;
    align-items: center;
  }

  .footer-section h3 {
    font-size: 14px;
  }

  .footer-section p {
    font-size: 12px;
  }

  .footer-copyright {
    font-size: 11px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .el-footer {
    padding: 35px 18px 18px;
    font-size: 13px;
  }
}
