html,
body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  position: relative;
  z-index: 99;
  scroll-behavior: smooth;
  background-color: var(--bg-color-1);
}

body {
  font-family: 'Inter', sans-serif;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 230px);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 230px);
  }
}

@media (max-width: 640px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 230px);
    gap: 0.75rem;

  }
}

.hover-lift {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
}

.back-to-top {
  transition: all 0.3s ease;
}

.back-to-top:hover {
  transform: translateY(-5px);
}

body::-webkit-scrollbar {
  display: none;
}


#copy-message {
  position: fixed;
  z-index: 999;
  bottom: 30%;
  width: 60px;
  height: 28px;
  left: 50%;
  transform: translate(-50%, 0);
  background: #fff;
  border: 1px solid #d9d9d9;
  color: #333;
  font-size: 12px;
  text-align: center;
  line-height: 28px;
  border-radius: 20px;
}

.heading {
  position: relative;
  width: fit-content;
  z-index: 11;
}

.heading::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  transform: translate(0, 0);
  width: 100%;
  height: 8px;
  background-color: var(--bg-color-6);
  z-index: -1;
}

.num a {
  counter-increment: mvp-trend;
}

.num a span::after {
  content: "0" counter(mvp-trend);
}

.num a:last-child {
  border: none;
  padding-bottom: 0;
}

@media (min-width:768px) {}

@media (max-width:768px) {
  .game-text::-webkit-scrollbar {
    width: 4px;
  }
}

.star i.full {
  color: #F6CC22;
}

.star i {
  color: #E4E4E4;
}

.star i.partial {
  background: linear-gradient(to right, #F6CC22 var(--percent, 0%), #E4E4E4 var(--percent, 0%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

}

.trending-item a {
  position: relative;
}

.trending-item a::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: -24px;
  width: 1px;
  background: #E6E6E6;
}

@media (min-width:768px) {
  .trending-item a:nth-of-type(4n)::after {
    display: none;
  }

  .dt-like .trending-item a:nth-of-type(2n)::after {
    display: none;
  }
}

@media (max-width:767px) {
  .trending-item a:nth-of-type(3n)::after {
    display: none;
  }
}

@media (max-width:640px) {
  .trending-item a:nth-of-type(3n)::after {
    display: block;
  }

  .trending-item a:nth-of-type(2n)::after {
    display: none;
  }

  .trending-item a::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: -12px;
    width: 1px;
    background: #E6E6E6;
  }
}


header {
  position: relative;
  padding: 0px 0px;
  background-color: var(--bg-color);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}

.nav-links {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  color: var(--text-color);
  text-decoration: none;
  text-transform: capitalize;
  font-size: 16px;
  font-weight: 500;
  padding: 20px 10px;
  display: block;
}

.nav-links li a:hover {
  color: var(--text-color);
}

.nav-links li a img {
  width: 24px;
  aspect-ratio: auto;
}

.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 15px;
}

.line1,
.line2,
.line3 {
  width: 22px;
  height: 2px;
  background-color: #71717a;
  margin: 2px;
}

.logo a {
  font-size: 30px;
  line-height: 34px;
  color: var(--logo-color);
  padding: 10px 10px;
  display: block;
  font-weight: 700;
  text-transform: capitalize;
  text-decoration: none;
}

@media screen and (max-width: 992px) {
  .nav-links {
    display: none;
    flex-direction: column;
    /* 将导航链接改为纵向布局 */
    background-color: #fff;
    /* 为导航链接添加背景色 */
    padding: 10px;
    /* 为导航链接添加内边距 */
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    z-index: 9999;
    padding-top: 60px;
    height: 100vh;
  }

  .navbar {
    padding: 0px 0px;
  }

  .logo a {
    padding: 8px 15px;
    font-size: 24px;
    line-height: 26px;
  }

  .nav-links.nav-active {
    display: flex;
    position: fixed;
  }

  .nav-links li a {
    padding: 6px 10px;
    color: #333;
  }

  .burger {
    display: flex;
    padding: 10px 15px;
  }

  .toggle {
    position: fixed;
    z-index: 9999;
    right: 6px;
    font-size: 24px;
    top: 0px;
    color: #333;
  }


}