*,
::after,
::before {
  box-sizing: border-box;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
*::-webkit-scrollbar {
  width: 0 !important;
  display: none !important;  /* Chrome, Safari */
}
html {
  scroll-behavior: smooth;
  overflow: -moz-scrollbars-none;  /* Firefox */
  -ms-overflow-style: none;  /* IE/Edge */
}
body,
ul,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, PingFangSC-Regular, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #f3f5f8;
  background-color: #050505;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
img {
  vertical-align: bottom;
}
ul {
  list-style-type: none;
}
a {
  color: #e6e7ea;
  text-decoration: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
li {
  list-style: none;
}
dl {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
dt,
dd {
  margin: 0;
  padding: 0;
}
button {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
}
button:hover {
  opacity: 0.8;
}
button:active {
  opacity: 0.7;
}
@font-face {
  font-family: "FluentSystemIcons-Resizable";
  src: url("../assets/icon/FluentSystemIcons-Resizable.ttf");
}

@font-face {
  font-family: 'DingTalk';
  src: url('../assets/sans/DingTalk JinBuTi.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@keyframes header-slide-in {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes opacity-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* 添加新的动画关键帧 */
@keyframes statsSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 新增评论轮播动画 */
@keyframes testimonialSlide {
  0% {
    opacity: 0;
    transform: translateX(30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

a {
  margin: 0;
  padding: 0;
  word-break: keep-all;
}
a i {
  margin-top: 2px;
  display: inline-block;
  vertical-align: middle;
  font-size: 14px;
  padding-right: 4px;
}
a i img {
  padding-bottom: 2px;
}
a:hover {
  opacity: 0.85;
}
a:active {
  opacity: 0.7;
}
a.toolButton {
  -webkit-user-drag: none;
  user-drag: none;
}
a.toolButton img {
  -webkit-user-drag: none;
  user-drag: none;
  height: 24px;
}
a.toolButton.primary {
  color: #395af2;
}
a.link {
  color: #395af2;
}
a.link::before {
  margin-right: 6px;
  content: "\ea77";
  font-family: FluentSystemIcons-Resizable;
  /* 设置图标字体 */
  font-size: 20px;
  vertical-align: middle;
}
a.link.float {
  color: #f3f5f8;
  font-size: 14px;
  transition: all 0.35s ease;
  display: inline-block;
  align-items: center;
  position: relative;
}
a.link.float:hover {
  transform: translateX(20px);
}
a.link.float::before {
  content: "\e126";
  /* 图标（箭头） */
  position: absolute;
  right: 100%;
  opacity: 0;
  transition: all 0.3s ease;
  font-size: 14px;
  top: 50%;
  transform: translateY(-50%);
}
a.link.float:hover::before {
  opacity: 1;
}
a.pushButton {
  display: inline-block;
  min-height: 35px;
  margin: 6px 0;
  cursor: default;
  padding: 5px 12px 6px 12px;
  font-size: 13.5px;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  border: 1px solid rgba(185, 185, 185, 0.073);
  border-bottom: 1px solid rgba(50, 50, 50, 0.183);
  text-align: center;
  vertical-align: center;
  -webkit-user-drag: none;
  user-drag: none;
}
a.pushButton.primary {
  color: #1c1c1c;
  background-color: #395af2;
}
.wrapper {
  margin: 0 auto;
  width: 1200px;
}
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 64px;
  z-index: 999;
  transition: all 0.3s ease;
}

header[data-transparent="true"] {
  background: transparent;
  box-shadow: none;
}

header[data-transparent="false"] {
  background: rgba(12, 15, 17, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

header[data-transparent="false"]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, 
    #395af2, #7186f5, #395af2
  );
  background-size: 200% 100%;
  animation: slideInLR 0.4s cubic-bezier(0.22, 0.61, 0.36, 1) forwards, gradient-animation 2.5s linear infinite;
  opacity: 1;
  transition: opacity 0.3s ease;
}

header[data-transparent="true"]::after {
  animation: slideOutLR 0.4s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

header .wrapper {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
header .left,
header .right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.tabs {
  margin-left: 48px;
  display: flex;
  gap: 32px;
}
.tabs .tab {
  position: relative;
  font-size: 16px;
  color: #fff;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.tabs .tab:hover {
  opacity: 1;
}
.tabs .tab.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  /* 将伪元素水平居中 */
  transform: translateX(-50%);
  /* 使伪元素在水平居中 */
  width: 20px;
  height: 3px;
  opacity: 0;
  background-color: #395af2;
  border-radius: 1.5px;
  z-index: 1;
  animation: opacity-in 0.25s;
  animation-fill-mode: forwards;
  animation-delay: 0.25s;
}
.logo a {
  display: block;
  /* 控制头部logo大小，修改为期望值 */
  width: 97px;    /* 例如：150px */
  height: 50px;    /* 例如：50px */
  background: url('../assets/img/logo.webp') no-repeat center center;
  background-size: contain;
  font-size: 0;
  /* 隐藏文字 */
  -webkit-user-drag: none;
  user-drag: none;
}
footer {
  background-color: #161719;
  width: 100%;
  height: 100%;
}
footer .wrapper {
  display: flex;
  justify-content: space-between;
  padding: 24px 0;
}
footer .left {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
}
footer .left p {
  opacity: 0.8;
}
footer .left .desc {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
footer .left .desc a {
  font-size: 13px;
  opacity: 0.8;
}
footer .left .bottom {
  margin-top: 18px;
  display: flex;
  gap: 18px;
  align-items: center;
}
footer .right {
  display: flex;
}
footer .right dl {
  margin-top: 12px;
  width: 100px;
  text-align: left;
}
footer .right dl dt {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 12px;
}
footer .right dl dd {
  margin-bottom: 6px;
}
a.footnote {
  font-size: 1em;
  font-feature-settings: "numr";
}
.footnotes {
  background-color: #161719;
  padding: 17px 0 11px 0;
  color: #ddd;
}
.footnotes li {
  padding-bottom: 9px;
}
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero 区域 */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -1;
}

/* 明亮模式背景图 */
@media (prefers-color-scheme: light) {
  .hero::before {
    background-image: url('../assets/img/hero-bg-light.webp');
  }
}

/* 暗色模式背景图 */
@media (prefers-color-scheme: dark) {
  .hero::before {
    background-image: url('../assets/img/hero-bg-dark.webp');
  }
}

/* 将原有的 hero 渐变效果仅在屏幕宽度 ≥ 768px 时显示 */
@media screen and (min-width: 768px) {
  .hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30vh; /* 渐变高度 */
    background: linear-gradient(to bottom, transparent, var(--page-bg));
    pointer-events: none;
    z-index: 1;
  }
}

/* 优化英雄区文字动画 */
.hero-content {
  position: relative;
  max-width: 800px;
  padding: 2rem;
  z-index: 2;
  color: #fff; /* 保持文字始终为白色 */
  animation: none; /* 移除原有动画 */
}

.hero-content h1 {
  font-family: 'DingTalk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: var(--hero-title-size); /* 替换原来的4rem */
  font-weight: 300;  /* 调整字重为细体 */
  margin-bottom: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff; /* 保持标题始终为白色 */
  opacity: 0;
  animation: titleSlideUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards 1.8s;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.9); /* 保持描述文字始终为白色 */
  opacity: 0;
  animation: fadeSlideUp 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) forwards 2.2s;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  opacity: 0;
  animation: fadeSlideUp 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) forwards 2.4s;
}

/* 新增标题动画 */
@keyframes titleSlideUp {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* 新增渐入动画 */
@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.features {
  padding: 6rem 0;
  background: #151515;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
  font-size: 2.5rem;
  font-family: 'DingTalk', -apple-system, BlinkMacSystemFont, sans-serif; /* 添加 hero 同款字体 */
  font-weight: 300; /* 与 hero 标题保持一致的字重 */
  letter-spacing: -0.02em; /* 添加字间距调整 */
}

/* 左对齐的 section-title 特例（用于关于模块） */
.intro-text .section-title {
  text-align: left;
  margin-bottom: 2rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: #252525;
  padding: 2rem;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.showcase {
  padding: 6rem 0;
  background: #101010;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.showcase-grid img {
  width: 100%;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.showcase-grid img:hover {
  transform: scale(1.05);
}

.join-btn {
  padding: 8px 24px;
  color: #000;
  background: #395af2;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.2s;
}

.join-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(57, 90, 242, 0.3);
}

.stats {
  padding: 4rem 0;
  margin-top: -120px; /* 调整上边距 */
  position: relative;
  z-index: 3;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 固定3列 */
  gap: 2rem;
  text-align: center;
}

.stat-item {
  position: relative;
  padding: 2.5rem 2rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* 添加入场动画 */
  opacity: 0;
  animation: statsSlideUp 0.8s cubic-bezier(0.22, 0.61, 0.36, 1) forwards 1.8s;
}

/* 为每个数据卡片添加延迟动画 */
.stat-item:nth-child(1) {
  animation-delay: 1.8s;
}

.stat-item:nth-child(2) {
  animation-delay: 2.0s;
}

.stat-item:nth-child(3) {
  animation-delay: 2.2s;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(57, 90, 242, 0.05);
  border-color: rgba(57, 90, 242, 0.2);
  box-shadow: 0 8px 32px rgba(57, 90, 242, 0.15);
}

.stat-item .number {
  display: block; /* 确保数字独占一行 */
  font-size: 3.5rem;
  font-weight: 600;
  font-family: 'DingTalk', monospace;
  background: linear-gradient(135deg, #395af2 30%, #7186f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.stat-item .label {
  display: block;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  letter-spacing: 0.5px;
}

@media screen and (max-width: 768px) {
  .stats {
    margin-top: -80px;
    padding: 3rem 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-item {
    padding: 2rem 1.5rem;
  }

  .stat-item .number {
    font-size: 2.8rem;
  }

  .stat-item .label {
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .stats {
    margin-top: -60px;
    padding: 2rem 1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-item {
    padding: 1.75rem 1.25rem;
  }

  .stat-item .number {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
  }
}

.testimonials {
  padding: 6rem 0;
  background: #151515;
}

.testimonial-carousel {
  position: relative;
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  overflow: hidden;
}

.testimonial-item {
  min-width: calc(33.333% - 1.34rem);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 6px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.5;
  transform: scale(0.95);
}

.testimonial-item.active {
  opacity: 1;
  transform: scale(1);
}

.testimonial-item::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 5rem;
  font-family: serif;
  color: rgba(57, 90, 242, 0.2);
  line-height: 1;
}

.testimonial-item .quote {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.testimonial-item .author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-item .author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(57, 90, 242, 0.3);
  transition: transform 0.3s ease;
}

.news {
  padding: 6rem 0;
  background: #101010;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.news-card {
  background: #1a1a1a;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 1.5rem;
}

.news-content .date {
  color: #999;
  font-size: 0.9rem;
}

.news-content h3 {
  margin: 0.5rem 0;
  font-size: 1.2rem;
}

.news-content p {
  color: #999;
  font-size: 1rem;
  line-height: 1.5;
}

.intro-section {
  padding: 6rem 0;
  background: #161719;
  position: relative;
  overflow: hidden;
  min-height: 600px;
}

.intro-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.intro-text {
  padding-right: 2rem;
}

.intro-text .section-title {
  text-align: left;
  margin-bottom: 2rem;
}

.intro-description {
  color: #999;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.intro-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.feature-tag {
  padding: 0.5rem 1.5rem;
  background: rgba(57, 90, 242, 0.1);
  border: 1px solid rgba(57, 90, 242, 0.2);
  border-radius: 6px;
  color: #395af2;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.feature-tag:hover {
  background: rgba(57, 90, 242, 0.2);
  transform: translateY(-2px);
}

/* 删除旧的 .intro-image 绝对定位样式 */
/* 
.intro-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}
*/

/* 新的 .intro-image 样式，用于流式布局显示图片在文字下方 */
.intro-image {
    position: relative;
    width: 100%;
    height: 400px;   /* 可根据需要调节高度 */
    margin-top: 1rem; /* 文字与图片间距 */
    border-radius: 6px;
    overflow: hidden;
}
.intro-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: background-image 0.5s ease;
}
@media screen and (min-width: 768px) {
    .intro-image::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to left,
            transparent 0%,
            var(--intro-bg) 100%
        );
        z-index: 1;
    }
}
@media screen and (max-width: 767px) {
    .intro-image::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom,
            transparent 0%,
            var(--intro-bg) 100%
        );
        z-index: 1;
    }
}
@media (prefers-color-scheme: light) {
    .intro-image::before {
        background-image: url('../assets/img/hero-bg-light.webp');
    }
}
@media (prefers-color-scheme: dark) {
    .intro-image::before {
        background-image: url('../assets/img/hero-bg-dark.webp');
    }
}

/* 修改 .intro-section 的边距控制 */
.intro-section {
    position: relative;
    padding: 6rem 0;
    background: var(--intro-bg);
    overflow: hidden;
    min-height: 600px;
}

/* 修改 .intro-image 布局和边距 */
.intro-image {
    position: relative;
    width: calc(100% + 24px); /* 补偿父容器的右边距 */
    height: 400px;
    margin-top: 2rem;
    margin-right: -24px; /* 抵消父容器的右边距 */
    border-radius: 0; /* 移除圆角 */
    overflow: hidden;
}

/* PC端调整 */
@media screen and (min-width: 768px) {
    .intro-image {
        width: calc(100% + 48px); /* 更大的补偿以确保延伸到边缘 */
        margin-right: -48px;
    }
}

/* 移动端调整 */
@media screen and (max-width: 767px) {
    .intro-image {
        width: 100vw; /* 使用视口宽度 */
        margin-left: calc(-50vw + 50%); /* 居中对齐 */
        margin-right: calc(-50vw + 50%);
    }
}

/* 修改移动端适配，取消上边距 */
@media screen and (max-width: 767px) {
    .intro-section {
        padding: 0 0 6rem 0; /* 移除顶部内边距，保留底部内边距 */
    }

    .intro-image {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        margin-top: 0; /* 移除图片的顶部边距 */
    }
}

/* 响应式布局 */
@media screen and (max-width: 1280px) {
  .wrapper {
    width: 90%;
    padding: 0 20px;
  }
}

@media screen and (max-width: 768px) {
  header .tabs {
    display: none; /* 隐藏导航栏 */
  }

  .hero-content {
    text-align: center;
    padding: 1rem;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .stats {
    margin-top: -80px;
    padding: 1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 1rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-content {
    grid-template-columns: 1fr;
  }

  .intro-text {
    order: 2;
  }

  .intro-image {
    order: 1;
  }

  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonial-carousel {
    margin-top: 2rem;
  }

  footer .wrapper {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  footer .left .desc {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center; /* 让按钮居中 */
  }

  /* 玩家评价模块自适应 */
  .testimonial-carousel {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  .testimonial-item {
    min-width: 100%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    padding: 1.5rem;
  }

  .stat-item .number {
    font-size: 2.8rem;
  }

  .intro-features {
    justify-content: center;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    gap: 1rem;
  }
  
  .stat-item {
    padding: 1.25rem;
  }
}

/* 增加暗色模式支持 */
@media (prefers-color-scheme: dark) {
  .feature-card, .news-card {
    background: rgba(255, 255, 255, 0.05);
  }
}

/* 明暗模式适配 */
@media (prefers-color-scheme: light) {
  body {
    background-color: #ffffff;
    color: #1c1c1c;
  }

  header[data-transparent="false"] {
    background: rgba(255, 255, 255, 0.8);
  }

  .feature-card {
    background: #f5f5f5;
  }

  .news-card {
    background: #f5f5f5;
  }

  .testimonial-item {
    background: #f5f5f5;
  }

  .intro-section {
    background: #f8f8f8;
  }

  .features {
    background: #ffffff;
  }

  .showcase {
    background: #f8f8f8;
  }

  .testimonials {
    background: #ffffff;
  }

  .news {
    background: #f8f8f8;
  }

  footer {
    background: #f5f5f5;
    color: #1c1c1c;
  }

  .intro-description, 
  .news-content p,
  .news-content .date {
    color: #666;
  }

  .stat-item .label {
    color: #666;
  }

  /* 导航栏文字颜色 */
  header .tab {
    color: #1c1c1c;
  }
  
  /* 按钮样式适配 */
  a.pushButton {
    background-color: rgba(0, 0, 0, 0.08);
    color: #1c1c1c;
    border-color: rgba(0, 0, 0, 0.1);
  }
  
  /* 特性标签适配 */
  .feature-tag {
    background: rgba(57, 90, 242, 0.1);
    border-color: rgba(57, 90, 242, 0.2);
  }

  /* 页脚链接颜色 */
  footer a {
    color: #1c1c1c;
  }
  
  /* 标题文字颜色 */
  .section-title {
    color: #1c1c1c;
  }

  /* 卡片标题 */
  .feature-card h3,
  .news-card h3 {
    color: #1c1c1c;
  }

  /* 卡片内容 */
  .feature-card p {
    color: #666;
  }

  /* 玩家评价 */
  .testimonial-item .quote {
    color: #1c1c1c;
  }
  
  .testimonial-item .author span {
    color: #666;
  }

  /* Logo颜色 - 移除滤镜 */
  .logo a {
    filter: none;
  }

  /* Join按钮 */
  .join-btn {
    color: #fff;
  }

  /* 移除 hero 相关的颜色适配 */
  header[data-transparent="true"] .tab {
    color: #fff; /* 透明状态下导航栏文字始终白色 */
  }

  header[data-transparent="true"] .join-btn {
    color: #000; /* 透明状态下加入按钮文字始终黑色 */
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #050505;
    color: #f3f5f8;
  }

  header[data-transparent="false"] {
    background: rgba(12, 15, 17, 0.8);
  }

  .feature-card {
    background: #252525;
  }

  .news-card {
    background: #1a1a1a;
  }

  .testimonial-item {
    background: #252525;
  }

  .intro-section {
    background: #161719;
  }

  .features {
    background: #151515;
  }

  .showcase {
    background: #101010;
  }

  .testimonials {
    background: #151515;
  }

  .news {
    background: #101010;
  }

  footer {
    background: #161719;
    color: #f3f5f8;
  }

  .intro-description,
  .news-content p,
  .news-content .date {
    color: #999;
  }

  .stat-item .label {
    color: rgba(255, 255, 255, 0.7);
  }

  /* 导航栏文字颜色 */
  header .tab {
    color: #fff;
  }
  
  /* 页脚链接颜色 */
  footer a {
    color: #e6e7ea;
  }
  
  /* 标题文字颜色 */
  .section-title {
    color: #fff;
  }

  /* 卡片标题 */
  .feature-card h3,
  .news-card h3 {
    color: #fff;
  }

  /* 卡片内容 */
  .feature-card p {
    color: rgba(255, 255, 255, 0.7);
  }

  /* 玩家评价 */
  .testimonial-item .quote {
    color: #fff;
  }

  .testimonial-item .author span {
    color: rgba(255, 255, 255, 0.7);
  }

  /* Logo颜色 - 移除滤镜 */
  .logo a {
    filter: none;
  }

  /* Join按钮 */
  .join-btn {
    color: #000;
  }

  /* 移除 hero 相关的颜色适配 */
  header[data-transparent="true"] .tab {
    color: #fff; /* 透明状态下导航栏文字始终白色 */
  }

  header[data-transparent="true"] .join-btn {
    color: #000; /* 透明状态下加入按钮文字始终黑色 */
  }
}

/* Hero 区域单独设置样式，不跟随明暗模式 */
.hero-content,
.hero-content h1,
.hero-content p {
  color: #fff !important;
}

.hero-buttons .pushButton {
  color: #fff !important;
  background-color: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(185, 185, 185, 0.073) !important;
}

.hero-buttons .pushButton.primary {
  color: #1c1c1c !important;
  background-color: #395af2 !important;
}

/* 加载动画 */
:root {
  --page-bg: #050505;
  --intro-bg: #161719;  /* 新增：关于模块背景色（暗色模式下） */
  --move-x: 0px;
  --move-y: 0px;
  --hero-title-size: 4rem;
}

/* 明亮模式适配 */
@media (prefers-color-scheme: light) {
  :root {
    --page-bg: #ffffff;
    --intro-bg: #f8f8f8;  /* 更新：亮色模式下背景色与模块一致 */
  }
}

.loading-text {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  display: flex;
  gap: 0; /* 移除间距 */
  pointer-events: none;
}

/* 修改加载动画样式 */
.loading-text span {
  font-family: 'DingTalk';
  font-size: var(--hero-title-size); /* 与标题保持一致 */
  background: linear-gradient(135deg, #395af2 30%, #7186f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  animation: textFadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards,
             textMove 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 1.2s,
             textFadeOut 0.4s ease forwards 2.4s;
}

/* 调整动画延迟时间 */
.loading-text span:nth-child(2) {
  animation-delay: 0.15s, 1.35s, 2.55s;
}

.loading-text span:nth-child(3) {
  animation-delay: 0.3s, 1.5s, 2.7s;
}

.loading-text span:nth-child(4) {
  animation-delay: 0.45s, 1.65s, 2.85s;
}

@keyframes textFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 修改动画关键帧 */
@keyframes textMove {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 1;
    transform: translate(var(--move-x), var(--move-y)) scale(1);
  }
}

@keyframes textFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes heroContentFadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --hero-title-size: 2.8rem;
  }
}

@media screen and (max-width: 480px) {
  :root {
    --hero-title-size: 2.2rem;
  }
}

/* 数据展示区域的响应式调整 */
.stats {
  position: relative;
  padding: 4rem 0;
  z-index: 2;
}

/* 在宽屏下覆盖在 hero 上 */
@media screen and (min-width: 1024px) {
  .stats {
    margin-top: -180px; /* 增加负边距,让模块位置更靠上 */
    padding: 0;
  }
  
  .stats .wrapper {
    padding: 0 24px; /* 确保内容对齐 */
  }
  
  .stat-item {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
  }
}

/* 在宽屏下覆盖在 hero 上 */
@media screen and (min-width: 1024px) {
  .stats {
    margin-top: -120px;
    padding: 0;
  }
  
  .stat-item {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

/* 在中小屏幕上独立显示 */
@media screen and (max-width: 1023px) {
  .stats {
    margin-top: 0;
    background: #151515;
  }

  .stat-item {
    background: #1c1c1c;
  }
}

/* 调整数据展示模块样式 */
.stat-item {
  position: relative;
  padding: 2rem 1.5rem;  /* 减小内边距 */
  border-radius: 6px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-item .number {
  font-size: 3rem;  /* 减小字号 */
  margin-bottom: 0.75rem;  /* 减小间距 */
}

.stat-item .label {
  font-size: 1rem;  /* 减小字号 */
}

/* 宽屏样式 */
@media screen and (min-width: 1024px) {
  .stats {
    margin-top: -120px;
    padding: 0;
  }
  
  .stat-item {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
  }
}

/* 窄屏样式 */
@media screen and (max-width: 1023px) {
  .stats {
    margin-top: 0;
  }

  /* 明暗模式适配 */
  @media (prefers-color-scheme: light) {
    .stats {
      background: #f8f8f8;
    }
    .stat-item {
      background: #fff;
      background: #1c1c1c;
      border: 1px solid rgba(255, 255, 255, 0.05);
    }
  }
}

/* 隐藏 Webkit 浏览器的默认滚动条 */
body::-webkit-scrollbar {
  display: none;
}

/* 添加自定义滚动条 */
.custom-scrollbar {
  position: fixed;
  right: 4px;
  top: 0;
  width: 6px;
  height: 100vh;
  z-index: 9999;
}

.custom-scrollbar .scrollbar-thumb {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.custom-scrollbar .scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* 明亮模式适配 */
@media (prefers-color-scheme: light) {
  .custom-scrollbar .scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
  }
  
  .custom-scrollbar .scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
  }
}

/* 新增关键帧动画 */
@keyframes slideInLR {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes slideOutLR {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(100%);
  }
}

.slideshow {
  position: relative;
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
}

.slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slideshow img.active {
  position: relative;
  opacity: 1;
}

.slideshow-controls {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

/* 修改轮播控件样式，实现 Apple 风格 */
.slideshow-controls button {
  background: rgba(0, 0, 0, 0.4);  /* 深色半透明 */
  border: none;
  color: #fff;
  width: 28px;        /* 稍微缩小尺寸 */
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  outline: none;
}
.slideshow-controls button:hover {
  background: rgba(255, 255, 255, 0.6); /* 提示状态 */
  transform: scale(1.05);
}
.slideshow-controls button:active {
  transform: scale(0.95);
}

.dots {
  display: flex;
  gap: 8px;
}

/* 修改指示点样式 */
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.dot.active {
  background: #fff;
  transform: scale(1.2);
}

.showcase-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.showcase-item {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.showcase-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  border-color: rgba(57, 90, 242, 0.3);
}

.showcase-image {
  position: relative;
  padding-top: 56.25%; /* 16:9 宽高比 */
  overflow: hidden;
}

.showcase-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 4px;
}

.showcase-item:hover .showcase-image img {
  transform: scale(1.1);
}

.showcase-content {
  padding: 1.5rem;
}

.showcase-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.showcase-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* 明亮模式适配 */
@media (prefers-color-scheme: light) {
  .showcase-item {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.1);
  }
  
  .showcase-content h3 {
    color: #1c1c1c;
  }
  
  .showcase-content p {
    color: #666;
  }
}

/* 统一圆角大小 */
a.pushButton,
.feature-card,
.stat-item,
.testimonial-item,
.showcase-item,
.news-card,
.intro-image img,
.feature-tag,
.join-btn {
    border-radius: 6px;  /* 统一使用小圆角 */
}

/* 特殊元素圆角 */
.slideshow,
.showcase-image img {
    border-radius: 4px;  /* 图片使用更小的圆角 */
}

.testimonial-item .author img,
.slideshow-controls button,
.dot {
    border-radius: 50%;  /* 保持圆形元素 */
}

.showcase-more {
    margin-top: 3rem;
    text-align: center;
}

.more-btn {
    display: inline-block;
    padding: 12px 32px;
    background: rgba(57, 90, 242, 0.1);
    border: 1px solid rgba(57, 90, 242, 0.2);
    border-radius: 6px;
    color: #395af2;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.more-btn:hover {
    background: rgba(57, 90, 242, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(57, 90, 242, 0.15);
}

.more-btn:active {
    transform: translateY(0);
}

/* 明暗模式适配 */
@media (prefers-color-scheme: light) {
    .more-btn {
        background: rgba(57, 90, 242, 0.08);
    }
}

/* 优化播放按钮样式 */
.play-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 35px;
    margin: 6px 0;  /* 添加与 pushButton 相同的外边距 */
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 5px 12px 6px 12px;
    border-radius: 6px;
    border: 1px solid rgba(185, 185, 185, 0.073);
    border-bottom: 1px solid rgba(50, 50, 50, 0.183);
    font-size: 13.5px;
    cursor: pointer;  /* 添加鼠标样式 */
    transition: all 0.3s ease;
    vertical-align: middle;  /* 确保垂直对齐 */
}

.play-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.play-btn:active {
    transform: translateY(0);
}

.play-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.play-btn:hover svg {
    transform: scale(1.1);
}

/* 视频弹窗样式 */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/img/hero-bg-dark.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: -1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1280px;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.video-container {
    width: 100%;
    height: 100%;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.close-btn {
    position: absolute;
    top: -48px;
    right: 0;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.close-btn:active {
    transform: scale(0.95);
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

/*# sourceMappingURL=index.css.map */