* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "B Yekan";
  direction: rtl;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: #101010;
  color: var(--white-text);
  position: relative;
  overflow-x: hidden;
}

:root {
  --purple-color: rgba(151, 64, 225, 1);
  --active-color: #b19b55;
  --dark-bg: #1d1d1d;
  --white-text: #fff;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style-type: none;
}
.part-container {
  padding: 0 min(10vw, 90px);
  max-width: 1360px;
  margin-left: auto !important;
  margin-right: auto !important;
}
mark {
  color: var(--active-text);
  background-color: transparent;
}

input,
button {
  font-family: inherit;
  background-color: transparent;
  border: none;
}
.has-clamp {
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
}
.has-clamp-3 {
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
}

.gradient-style {
  position: relative;
}
.gradient-style::before {
  content: "";
  position: absolute;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  top: -2px;
  left: -2px;
  z-index: -1;
  background-image: linear-gradient(to left, #baa55b, #101010);
  border-radius: inherit;
}
.section-header .gradient-style.gold-style::before {
  content: "";
  position: absolute;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  top: -1px;
  left: -1px;
  z-index: -1;
  background-image: linear-gradient(to left, #644123, #baa55b);
  border-radius: inherit;
}
.section-header .left-part {
  display: flex;
  align-items: center;
  gap: 9px;
}
.navButtons button{
  display: flex;
  cursor: pointer;
}
.navButtons button.owl-next {
  transform: rotate(180deg);
}
.navButtons img {
  width: 36px;
  height: 36px;
}
.navButtons button:hover {
  opacity: 0.56;
}
.navButtons {
  display: flex;
  align-items: center;
  gap: 6px;
}
@font-face {
  font-family: "B Yekan";
  src: url("./assets/BYekan+_0.ttf") format("TrueType");
  font-weight: 400;
}
@font-face {
  font-family: "B Yekan";
  src: url("./assets/BYekan+\ Bold.ttf") format("TrueType");
  font-weight: 700;
}

.header-container {
  padding: 0 min(5.5vw, 90px) 0;
}
.main-header {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 19px 30px 19px 18px;
  padding-top: 58px;
  border-radius: 0 0 27px 27px;
  background-color: var(--dark-bg);
  display: flex;
  align-items: center;
  gap: 11px;
}
.hero-part .hamburger-container,
.hero-part .close {
  display: none;
}
.main-header .logo {
  width: fit-content;
  max-width: 132px;
  margin-left: 10px;
}
.main-header .vertical-gradient {
  width: 3px;
  height: 31px;
  background-image: linear-gradient(to right, #baa55b, #644123);
  border-radius: 10%;
}
.main-header nav {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
}
.main-header .menu {
  display: flex;
  align-items: center;
  gap: clamp(24px, 2.5vw, 34px);
}
.main-header .menu a:not(.active):before {
  content: "";
  width: 100%;
  height: 2px;
  background-color: var(--active-color);
  border-radius: 10px;
  position: absolute;
  bottom: -9.32px;
  left: 0;
  opacity: 0;
}
.main-header .menu a:hover::before {
  opacity: 1;
}
.main-header .menu a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white-text);
  font-size: 18px;
  font-weight: 500;
  position: relative;
}

.main-header .login {
  background-color: transparent;
  border-radius: 10px;
  color: #fff;
  padding: 9px 13.5px 9px 15px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 500;
  border: 1px solid currentColor;
}
.main-header .login:hover {
  border-color: var(--active-color);
}

.main-header .search-form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 47px;
  transition: flex-grow 0.3s ease;
}
.main-header .search-form:focus-within {
  flex-grow: 1;
}
.main-header .search-form label {
  background-color: rgba(7, 15, 28, 0);
  border-radius: 10px;
  position: relative;
  width: 100%;
  transition: width 0.3s ease;
  height: 47px;
}

.main-header .search-form label input {
  width: 100%;
  height: 100%;
  padding: 0 15px;
  color: var(--white-text);
  padding-left: 25px;
  transition: 0.3s ease;
  background-color: transparent;
}
.main-header .search-form label input:focus {
  background-color: #101010;
}
.main-header .search-form label button {
  width: fit-content;
  position: absolute;
  left: 10px;
  top: 10px;
  cursor: pointer;
  pointer-events: none;
  background-color: transparent;
}

.main-header .search-form label input:focus + button {
  pointer-events: all;
}

.hero-part {
  margin-bottom: 61px;
}
.hero-part .content-container {
  margin-top: 90px;
}
.hero-part .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: auto;
  gap: 34px;
  border-radius: 27px;
  background-color: var(--dark-bg);
  position: relative;
}
.hero-part .content .banner {
  width: 45%;
  max-width: 472px;
  transform: perspective(500px) translateX(40px) translateZ(55px);
}
.hero-part .text {
  width: calc(55% - 30px);
  max-width: 560px;
  padding: 26px 48px 34px 0;
}
.hero-part .text h1 {
  font-size: 58px;
  font-weight: 800;
  margin-bottom: 17px;
  position: relative;
  width: fit-content;

  background: -webkit-linear-gradient(
    10deg,
    rgb(186, 165, 91),
    rgba(210, 200, 163, 0.5)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-part .text h1::after {
  content: "";
  width: calc(100% + 8px);
  height: 22px;
  background-color: #303030;
  opacity: 0.68;
  position: absolute;
  left: -8px;
  bottom: 14px;
  z-index: -1;
  border-radius: 10px;
}
.hero-part .text .line {
  display: block;
  width: fit-content;
  margin-bottom: 25px;
}
.hero-part .text p {
  font-size: 21px;
  color: #a1a1a1;
  font-weight: 500;
  line-height: 32px;
  margin-bottom: 30px;
}
.text .links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}
.link {
  border-radius: 29px;
  padding: 11px 30px;
  color: rgba(248, 248, 248, 1);
  font-weight: 500;
  font-size: 18px;
  border: 1px solid rgba(142, 143, 144, 1);
  background-color: transparent;
  display: block;
}
.link:not(.has-gradient):hover {
  border-color: var(--active-color);
  color: var(--active-color);
}

.link.has-gradient {
  border: none;
  background-image: linear-gradient(to right, #968443, #644123);
}
.link.has-gradient:hover {
  background-image: linear-gradient(to right, #644123, #968443);
}

.section-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}
.section-header h2::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transform: translateY(-25%);
  background-image: linear-gradient(to right, #baa55b, #644123);
}
.section-header h2 {
  position: relative;
  color: rgba(232, 232, 232, 1);
  font-size: 32px;
  font-weight: 400;
  padding-right: 27px;
}
.section-header strong {
  font-weight: 800;
  font-size: 36px;
}
.section-header a {
  color: var(--white-text);
  font-size: 20px;
  font-weight: bold;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  border-radius: 22px;
  padding: 6px 14px;
  background-color: #101010;
}
.section-header a:hover {
  background-color: var(--dark-bg);
}
/* Category */
.category .category-list {
  padding: 0 2px;
}
.category .category-item > img{
  max-width: calc(100%);
  width: fit-content !important;
  object-fit: cover;
  object-position: bottom;
}
.category .category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-width: 240px;
  height: 187px;
  border-radius: 10px;
  transition: 0.3s ease;
  margin: 3px;
  background-color: var(--dark-bg);
}
.category .category-item.games > img {
  max-width: calc(100% - 30px);
  width: 100% !important;
  max-height: 110px;
}

.category .category-item h4 {
  font-size: 32px;
  color: #e8e8e8;
  position: relative;
  top: 15px;
  font-weight: 800;
  text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
/* Category */

/* Ranking */
.ranking {
  margin: 84px 0;
}
.ranking .box {
  border-radius: 20px;
  background-color: var(--dark-bg);
  padding: 40px 45px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
.ranking .box > img {
  max-width: 274px;
  width: 30%;
}
.ranking .box ul {
  width: 70%;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.ranking .box ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-height: 72px;
  gap: 32px;
  background-color: rgba(62, 69, 80, 0.16);
  border-radius: 23px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 16px 10px 16px 24px;
  color: var(--white-text);
}
.ranking .box ul li .rank-img:is(.silver, .boronse) {
  left: 10px;
}
.ranking .box ul li .rank-img {
  position: relative;
  bottom: 12px;
  width: fit-content;
}
.ranking .box ul li strong {
  flex-grow: 1;
  text-align: center;
  font-size: 20px;
  flex-shrink: 0;
}
.ranking .box ul li a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 11px;
  flex-shrink: 0;
  background-image: linear-gradient(to right, #968443, #644123);
  font-size: 14px;
  color: var(--white-text);
  font-weight: bold;
}
.ranking .box ul li a:hover {
  background-image: linear-gradient(to left, #968443, #644123);
}
.ranking .box .rate small {
  font-size: 13px;
  font-weight: 900;
  font-family: inherit;
}
.ranking .box .rate {
  display: inline-flex;
  align-items: flex-start;
  gap: 3px;
  color: var(--white-text);
}
/* Ranking */

/* About */
.about .section-header {
  margin-bottom: 0;
}
.about .content {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 60px;
  margin-bottom: 82px;
}
.about .text {
  width: 60%;
  max-width: 680px;
}
.about .text p {
  font-size: 23px;
  color: #c4c4c6;
  font-weight: 500;
  text-align: justify;
  margin-bottom: 55px;
}
.about .banner {
  max-width: 40%;
}
.text .link.link-solid {
  border-radius: 10px;
  font-size: 22px;
  padding: 10px 40px;
}

/* About */

/* Gifts */
.gifts .content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-radius: 21px;
  padding-left: 50px;
  height: 135px;
  color: var(--white-text);
  margin-bottom: 90px;
  background-image: linear-gradient(to right, #BAA55B, #644123);
}
.gifts .content > img {
  width: fit-content;
  position: relative;
  object-fit: cover;
  bottom: 42px;
}
.gifts .content h4 {
  font-size: 28px;
  flex-grow: 1;
  color: #e8e8e8;
  font-weight: 300;
  text-align: center;
}
.gifts .content h4 strong {
  font-size: 36px;
  font-weight: 700;
}
.gifts .content .go img,
.gifts .content .go span {
  z-index: 1;
}
.gifts .content .go img {
  transform: rotate(180deg);
  width: 20px;
  position: relative;
  top: 3px;
}
.gifts .content .go::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 1px;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  border-radius: inherit;
  background-color: #000;
}
.gifts .content .go {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 53px;
  color: var(--white-text);
  font-size: 27px;
  font-weight: 700;
  padding: 0 16px 6px;
  position: relative;
  border-radius: 16px;
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1),
    rgba(255, 255, 255, 0.15)
  );
}
/* Gifts */

/* Weblog  */
.weblog .section-header {
  margin-bottom: 45px;
}
.weblog .content {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 90px;
}
.weblog .content .list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
}
.weblog .content .weblog-item:not(.first) {
  width: 100%;
  flex-direction: row;
  display: flex;
  align-items: center;
  gap: 30px;
  background-color: var(--dark-bg);
  border: 1px solid #D2C8A3;
  padding: 10px 17px 15px 27px;
  border-radius: 27px;
}
.weblog .content .weblog-item.first {
  width: 32%;
  min-width: 325px;
  max-width: 355px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border: none;
  background-color: transparent;
  padding: 0;
}
.weblog .weblog-item > img {
  width: 128px;
  height: 128px;
  border-radius: 23px;
  object-position: center;
  object-fit: cover;
}
.weblog .weblog-item.first > img {
  width: 100%;
  height: 280px;
  border-radius: 32px;
  margin-bottom: 24px;
}
.weblog .weblog-item .detail {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.weblog .weblog-item .detail h4 {
  font-size: 29px;
  font-weight: 700;
  color: var(--white-text);
}
.weblog .weblog-item .detail p {
  font-size: 15px;
  line-height: 200%;
  color: #c3c3c3;
  font-weight: 500;
}
.weblog .weblog-item:not(.first) .more {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 15px;
}
.weblog .weblog-item.first .more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.weblog .weblog-item .more img.left {
  transform: rotate(180deg);
}
.weblog .weblog-item .more time {
  color: #aeaeae;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.weblog .weblog-item:not(.first) .more time {
  font-size: 13px;
}
.weblog .weblog-item .read-more {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white-text);
  font-size: 23px;
  font-weight: 500;
  border-radius: 13px;
  padding: 10px 15px;
  background-image: linear-gradient(to right, #968443, #644123);
    white-space: nowrap;
}
.weblog .weblog-item .read-more:hover {
  background-image: linear-gradient(to left, #968443, #644123);
}
/* Weblog  */

/* Comments  */
.comments {
  margin-bottom: 80px;
}
.comment::before {
  content: "";
  width: 378px;
  height: 378px;
  border-radius: 50%;
  background-color: #312D22;
  position: absolute;
  top: 32px;
  left: calc(100% - 145px);
  transition: .8s ease;
  opacity: 0;
}
.owl-item.active.center .comment::before {
  opacity: 1;
}
.owl-item.active.center .comment{
  border-color: transparent;
  background-color: #1a1813;
}

.comments-list {
  max-width: 1360px;
  margin: auto;
}
.comment {
  display: flex;
  width: 500px;
  gap: 24px;
  position: relative;
  background-color: #101010;
  border: 1px solid #8A7945;
  border-radius: 24px;
  padding: 34px 32px;
  overflow: hidden;
  transition: .8s ease;
  margin: 3px;
}

.comment .detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 1;
}
.comment .detail > img {
  width: 64px !important;
  height: 64px !important;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  margin-bottom: 12px;
  filter: grayscale(1);
}
.owl-item.active.center .detail > img {
  filter: grayscale(0);
}
.comment .name {
  font-size: 16px;
  font-weight: bold;
  color: var(--white-text);
}
.comment .joined {
  font-size: 14px;
  color: #fff;
  opacity: 0.56;
}
.comment .comment-text {
  font-size: 16px;
  font-weight: 500;
  color: #929CA1;
  text-align: justify;
  max-width: 322px;
  line-height: 190%;
  z-index: 1;
}

.owl-carousel.comments-list .owl-dots {
  display: flex !important;
  gap: 11px;
  width: fit-content;
  margin: 40px auto 0;
}
.owl-carousel.comments-list .owl-dots .owl-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #75562E;
  transition: 0.3s ease;
}
.owl-carousel.comments-list .owl-dots .owl-dot.active {
  border-radius: 4px;
  width: 18px;
  background-image: linear-gradient(to left, #644123, #BAA55B);
}
/* Comments  */

/* Faq */
.faq {
  margin-bottom: 136px;
}
.faq .list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 48px;
}
.faq .faq-item {
  display: flex;
  flex-direction: column;
}
.faq .faq-item .item-header {
  padding: 10px 18px 10px 10px;
  border-radius: 14px;
  background-color: #242424;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 34px;
  cursor: pointer;
}
.faq .faq-item .item-header button {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  border-radius: 8px;
  cursor: pointer;
  background-image: linear-gradient(to right, #968443, #644123);
  border: 0 solid #ffffff00;
}
.faq .faq-item.active .item-header button {
  background-color: transparent;
  background-image: none;
  border: 2px solid #9D8A4D;
}
.faq .faq-item img.active {
  width: 23px;
  height: 23px;
  opacity: 1;
  margin-left: 1px;
}
.faq .faq-item img {
  width: 0;
  height: 0;
  opacity: 0;
  transition: 0.3s ease;
}
.faq .faq-item .item-body {
  font-size: 21px;
  color: var(--white-text);
  text-align: justify;
  border-radius: 20px;
  transition: 0.3s ease;
  max-height: 0;
  overflow: hidden;
  padding: 0 19px;
  border: 0;
}
.faq .faq-item.active .item-body {
  border: 2px solid #4D442A;
  margin: 28px 0 14px;
  max-height: 600px;
  overflow: visible;
  padding: 15px 19px;
  font-weight: 200;
}
.faq .faq-item h5 {
  font-size: 23px;
  color: #cdcdcd;
  font-weight: 500;
  max-width: calc(100%-60px);
}
/* Faq */

/* Footer  */
.main-footer {
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 40px !important;
  padding-bottom: 35px !important;
  gap: 47px;
  border-top-left-radius: 34px;
  border-top-right-radius: 34px;
  background-color: #242424;
  padding: 0 32px;
}
.main-footer > a {
  font-size: 14px;
  color: #aeaeae;
  font-weight: bold;
}
.main-footer p {
  flex-grow: 1;
  font-size: 14px;
  text-align: left;
  padding-right: 115px;
}
.main-footer .social {
  display: flex;
  align-items: center;
  gap: 18px;
}
.back-to-top:hover {
  border-color: var(--active-color);
}
.back-to-top {
  border: 1.3px solid transparent;
  width: 99px;
  height: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #101010;
  position: absolute;
  top: -70px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
}
/* Footer  */
