* {
  box-sizing: border-box;
}
body,
html {
  width: 100%;
  margin: 0;
  padding: 0;
  scrollbar-width: none; /* Firefox */
  font-family: Helvetica, Arial, "PingFang SC", "Noto Sans", Roboto, "Microsoft Yahei", sans-serif;
}

/* 隐藏Chrome, Safari和Opera的滚动条 */
body::-webkit-scrollbar {
  display: none;
}

html::-webkit-scrollbar {
  display: none;
}

.aboutLilith {
  width: 100%;
  margin: auto;
  background-color: #fff;
  touch-action: pan-y;
}

.aboutLilith img {
  width: 100%;
}

.aboutUsTitle {
  width: 100%;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 18px;
  text-align: center;
  padding: 15px 0;
  color: #000000;
  font-weight: normal;
  display: none;
}

@media screen and (max-width: 750px) {
  .aboutUsTitle {
    display: block;
  }
}

.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.fadeInUp {
  -webkit-animation-name: fade-in-up;
  animation-name: fade-in-up;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0%, 0);
    transform: translate3d(0, 0%, 0);
  }
}

/* 年份卡片布局 */
.years-box {
  display: flex;
  justify-content: center;
  background-color: rgb(239, 239, 239);
  width: 100%;
}

.years-box .years-items {
  display: flex;
  flex-flow: row wrap;
  background-color: rgb(239, 239, 239);
  justify-content: center;
  margin: 0 auto;
}

/* Banner样式 */
.aboutUsBanner {
  width: 100%;
  background-image: linear-gradient(1deg, #434343 0%, #000000 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.aboutUsBanner .logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: url("https://lilithimage.lilithcdn.com/allgames-official-web/lilith/pc/cn/about-us-logo.webp")
    no-repeat center;
  background-size: cover;
}

/* 年份块样式 */
.yearBlock {
  position: relative;
}

.yearBlock .yearBg {
  width: 100%;
  min-height: 100%;
}

.yearBlock .content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
}

/* 年份图标基础样式 */
.yearBlock .content .yearIcon {
  width: 100%;
  background-repeat: no-repeat;
  background-position: center;
}

/* 各年份图标背景图片 */
.yearBlock .content .yearIcon.year-2020 {
  background-image: url("https://lilithimage.lilithcdn.com/allgames-official-web/lilith/pc/cn/red-2020.webp");  
}

.yearBlock .content .yearIcon.year-2019 {
  background-image: url("https://lilithimage.lilithcdn.com/allgames-official-web/lilith/pc/cn/red-2019.webp");
}

.yearBlock .content .yearIcon.year-2013 {
  background-image: url("https://lilithimage.lilithcdn.com/allgames-official-web/lilith/pc/cn/red-2013.webp");
}

.yearBlock .content .text {
  color: #000000;
  white-space: nowrap;
  min-height: 26px;
  display: block;
}

.yearBlock .content .text.enText {
  letter-spacing: 0px;
}

.yearBlock .content .text.cnText {
  letter-spacing: 0.74px;
}

/* 年份卡片样式 */
.year-card {
  background-color: #fff;
}

.year-card .top-img {
  width: 100%;
  background-size: cover;
}

.year-card .year-img img {
  width: 100%;
  height: 100%;
}

.year-card .year-des {
  color: #000000;
}

/* 语言切换按钮样式 */
.language-switcher {
  display: flex;
  justify-content: center;
  margin: 40px 0;
  width: 100%;
}

.lang-btn {
  padding: 10px 20px;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.lang-btn:hover {
  background-color: #333;
}

/* 移动端样式 (小于等于750px) */
@media screen and (max-width: 750px) {
  /* Banner移动端样式 */
  .aboutUsBanner {
    height: 43.467vw;
  }
  
  .aboutUsBanner .logo {
    width: 28.26vw;
    height: 26.93vw;
  }
  
  /* 年份块移动端样式 */
  .yearBlock {
    width: 100%;
    height: 56vw;
    margin-bottom: 15px;
  }
  
  /* 移动端年份图标样式 */
  .yearBlock .content .yearIcon {
    height: 12.53vw;
    margin-bottom: 4.27vw;
    background-size: 107px 36px;
  }
  
  .yearBlock .content .text {
    font-size: 14px;
    line-height: 26px;
    min-height: 26px;
  }
  
  /* 年份卡片移动端样式 */
  .years-box .years-items {
    flex: 0 0 100%;
    padding: 15px 27px 0;
  }
  
  .year-card {
    margin-right: 0;
    margin-bottom: 30px;
    height: auto;
    flex: 0 1 100%;
    width: 100%;
  }
  
  .year-card .top-img {
    height: 210px;
    background-position: center;
  }
  
  .year-card .year-img {
    width: 95px;
    height: 34px;
    margin-top: 16px;
    margin-left: 23px;
  }
  
  .year-card .year-des {
    font-size: 16px;
    margin-top: 15px;
    margin-left: 23px;
    margin-right: 23px;
    padding-bottom: 40px;
    line-height: 1.5;
  }
  
  /* 语言切换按钮移动端样式 */
  .language-switcher {
    margin: 20px 0;
  }
  
  .lang-btn {
    padding: 8px 16px;
    font-size: 14px;
  }
  
  /* 移动端其他样式 */
  body, html {
    min-width: unset;
  }
  
  /* 年份文本移动端显示规则 */
  .yearBlock .content .text[data-translate$="_2"] {
    display: block; /* 在移动端显示第二行 */
  }
}

/* PC端样式 (大于750px) */
@media screen and (min-width: 751px) {
  /* 整体容器PC样式 */
  .aboutLilith {
    min-width: 1440px;
  }
  
  /* Banner PC样式 */
  .aboutUsBanner {
    height: 384px;
    margin-bottom: 23px;
  }
  
  .aboutUsBanner .logo {
    width: 253px;
    height: 242px;
  }
  
  /* 年份块PC样式 */
  .yearBlock {
    min-width: 1440px;
    max-width: 1560px;
    margin: 60px auto 59px;
    height: 363px;
    padding: 0 50px;
    overflow: hidden;
  }
  
  /* PC端年份图标样式 */
  .yearBlock .content .yearIcon {
    height: 47px;
    background-size: 139px 47px;
  }
  
  .yearBlock .content .text {
    font-size: 20px;
    line-height: 41px;
    margin-top: 30px;
    padding: 0 27px;
  }
  
  .yearBlock .content .text.cnText {
    letter-spacing: 1.29px;
  }
  
  /* 年份卡片PC样式 */
  .years-box .years-items {
    flex: 0 0 1440px;
    padding: 63px 50px 63px;
    max-width: 1440px;
  }
  
  .years-box .years-items > div:nth-child(-n + 3) {
    margin-bottom: 63px;
  }
  
  .years-box .years-items > div:nth-child(3n + 1),
  .years-box .years-items > div:nth-child(3n + 2) {
    margin-right: 37px;
  }
  
  .year-card {
    width: 420px;
    height: 590px;
    flex: 0 1 420px;
    min-width: 420px;
    max-width: 420px;
  }
  
  .year-card .top-img {
    height: 288px;
  }
  
  .year-card .year-img {
    width: 131px;
    height: 47px;
    margin-top: 39px;
    margin-left: 27px;
  }
  
  .year-card .year-des {
    font-size: 20px;
    margin-top: 35px;
    margin-left: 27px;
    margin-right: 24px;
    line-height: 1.5725;
  }
  
  /* 年份文本PC端显示规则 */
  .yearBlock .content .text[data-translate$="_2"] {
    display: none; /* 在PC端隐藏第二行 */
  }
}

@media screen and (min-width:751px) and (max-width:968px) {
  .aboutLilith {
    width: 100%;
    min-width: unset;
  }
  .yearBlock {
    min-width: unset;
    max-width: unset;
    padding: 0;
  }
  .yearBlock .content .text{
    display: -webkit-box;
    font-size: 14px;
  }
  .yearBlock .yearBg{
    object-fit: cover;
  }

  .years-box .years-items{
    display: flex;
    flex:0 0 100%;
    width: 100%;
    overflow: hidden;
  }
  .years-box .years-items > div:nth-child(3n + 1),
  .years-box .years-items > div:nth-child(3n + 2) {
    margin-right: 0px;
  }
  .year-card{
    width: unset;
    flex:0 0 30%;
    min-width: 340px;
    font-size:16px;
  }
  
}

[v-cloak] {
  display: none;
}
