@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --main-font-Lato: "Lato", sans-serif;
  --sec-font-Pop: "Poppins", sans-serif;
}
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: rgb(80, 24, 123);
}
::-webkit-scrollbar-thumb {
  background: #ec09ec;
}
body {
  background: rgb(80, 24, 123);
  background: linear-gradient(90deg, rgb(133, 42, 203) 13%, rgba(75, 25, 120, 1) 31%, rgba(59, 28, 113, 1) 53%, rgba(48, 31, 109, 1) 75%, rgb(73, 52, 159) 93%);
  overflow-x: hidden;
}

.scroller {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 0;
  height: 5px;
  background: #ec09ec;
}

header {
  width: 100%;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  backdrop-filter: blur(50px);
  box-shadow: 5px 5px 8px rgba(0, 0, 0, 0.11);
  position: relative;
  z-index: 1000;
}

header .logo {
  width: fit-content;
}

nav ul {
  display: flex;
  transition: 0.3s;
}

nav ul li {
  font-family: var(--main-font-Lato);
  list-style: none;
  padding: 0 30px;
  color: white;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  text-transform: uppercase;
  position: relative;
}

header li::after {
  content: "";
  display: block;
  height: 4px;
  width: 0;
  background-color: white;
  position: absolute;
  left: 15px;
  bottom: -10px;
  transition: 0.5s;
}

header li:hover::after {
  width: 78%;
}

header .icon {
  color: white;
  font-size: 22px;
  transition: 0.3s;
  cursor: pointer;
  visibility: hidden;
}

header .icon:hover {
  transform: scale(1.3);
}
nav ul.active {
  height: 250px;
}
.menu-bar {
  height: 50px;
  width: 35px;
  position: relative;
  cursor: pointer;
  display: none;
}
.menu-bar span {
  width: 100%;
  height: 4px;
  background-color: #fff;
  position: absolute;
  transition: 0.3s;
}
.menu-bar span:first-child {
  top: 25%;
}
.menu-bar span:nth-child(2) {
  top: 50%;
}
.menu-bar span:last-child {
  top: 75%;
}
.menu-bar.active span:first-child {
  top: 50%;
  transform: rotate(45deg);
}
.menu-bar.active span:nth-child(2) {
  opacity: 0;
}
.menu-bar.active span:last-child {
  top: 50%;
  transform: rotate(-45deg);
}

.hero {
  width: 100%;
  height: 91vh;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(assets/img/main.png) no-repeat;
  background-position: right;
  background-size: 1200px;
  mix-blend-mode: color-dodge;
  z-index: -2;
}

.hero .container {
  width: 80%;
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
}

.gradient-text {
  background: linear-gradient(52deg, rgb(189, 57, 204) 18%, rgb(231 183 237) 60%, rgb(149, 51, 229) 80%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 {
  font-family: var(--sec-font-Pop);
  color: white;
  text-transform: uppercase;
  font-size: 69px;
  font-weight: 700;
  line-height: 1.2;
}

.hero p {
  font-family: var(--main-font-Lato);
  color: white;
  max-width: 600px;
  font-size: 18.5px;
  font-weight: 400;
  line-height: 1.8;
  padding: 10px 0 30px;
}

.btn {
  width: 232px;
  height: 74px;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.1;
  cursor: pointer;
  transform: skew(-15deg);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  background: white;
  left: -20px;
  top: 0;
  bottom: 0;
  width: 10px;
  transform: skew(-15deg);
}

.btn:hover::before {
  left: calc(100% + 20px);
  transition: left 0.5s;
}

.primary-btn {
  color: white;
  background: linear-gradient(52deg, rgb(72 39 219) 18%, rgb(212 111 229) 60%, rgb(203 37 168) 100%);
  border: none;
  outline: none;
}

.secondry-btn {
  border: 2px solid;
  border-image-source:linear-gradient(52deg, rgb(72 39 219) 18%, rgb(212 111 229) 60%, rgb(203 37 168) 100%);
  border-image-slice: 4;
}

.hero button {
  margin: 0 8px 10%;
}
.hero .secondry-btn{
color: #fff;
background: transparent;
}

.hero .statistics {
  max-width: 468px;
  height: 73px;
  display: flex;
  color: white;
  justify-content: space-between;
  align-items: center;
}

.hero .statistics .card {
  text-align: center;
}

.hero .statistics .card h4 {
  font-family: var(--sec-font-Pop);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
}

.hero .statistics .card span {
  font-family: var(--main-font-Lato);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
}

.choose {
  width: 100%;
  padding-top: 10rem;
  position: relative;
}

.choose .main-bottom {
  width: 100%;
  position: absolute;
  top: -3%;
  right: 0;
}

.choose .title {
  width: 100%;
  text-align: center;
}

.choose .title h2 {
  font-family: var(--sec-font-Pop);
  color: white;
  text-transform: uppercase;
  font-size: 66px;
  font-weight: 700;
  line-height: 1.2;
}

.choose .title h2 span {
  background: linear-gradient(52deg, rgb(189, 57, 204) 18%, rgb(231 183 237) 60%, rgb(149, 51, 229) 80%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.choose .title p {
  font-family: var(--main-font-Lato);
  color: white;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 20px;
}

.choose .sneak-peeks {
  width: 100vw;
}

.choose .sneak-peeks img {
  width: 100%;
    height: auto;
  object-fit: cover;
}

.choose .buttons {
  width: 100%;
  text-align: center;
  margin-top: 2.5rem;
}

.choose .buttons .primary-btn {
  color: white;
  background: linear-gradient(52deg, rgb(72 39 219) 18%, rgb(212 111 229) 60%, rgb(203 37 168) 100%);
  border: none;
  outline: none;
  margin: 0 10px;
}

.choose .buttons .secondry-btn {
  border: 2px solid;
  border-image-source: linear-gradient(52deg, rgb(72 39 219) 18%, rgb(207 147 217) 60%, rgb(203 37 168) 100%);
  border-image-slice: 4;
}

.discover {
  width: 100%;
  padding: 8rem 1rem;
}

.discover .container {
  max-width: 1240px;
  height: 556px;
  margin: 0 auto;
  background: url(assets/img/discoverframe.png) no-repeat;
  display: flex;
  align-items: center;
  position: relative;
}

.discover .image {
  position: relative;
  bottom: 41px;
  right: 15px;
}
.discover .image img {
  max-width: 100%;
  width: 1420px;
}

.discover .title h3 {
  font-family: var(--sec-font-Pop);
  color: white;
  text-transform: uppercase;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
}

.discover .container .title h3 span {
  background: linear-gradient(52deg, rgb(189, 57, 204) 18%, rgb(231 183 237) 60%, rgb(149, 51, 229) 80%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.discover .title p {
  font-family: var(--main-font-Lato);
  color: white;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  width: 440px;
  margin: 10px 0 30px;
}

.discover .secondry-btn {
  border: 2px solid;
  border-image-source: linear-gradient(52deg, rgb(72 39 219) 18%, rgb(207 147 217) 60%, rgb(203 37 168) 100%);
  border-image-slice: 4;
}

.top-games .toptop-games {
  width: 100%;
}

.top-games h2 {
  width: 100%;
  text-align: center;
  padding-top: 5rem;
  font-family: var(--sec-font-Pop);
  color: white;
  text-transform: uppercase;
  font-size: 66px;
  font-weight: 700;
  line-height: 1.2;
}

.top-games .buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.top-games .buttons button {
  margin: 0 3px;
}

.top-games .buttons .primary-btn {
  color: white;
  font-size: 19px;
  background: linear-gradient(52deg, rgb(72 39 219) 18%, rgb(212 111 229) 60%, rgb(203 37 168) 100%);
  border: none;
  outline: none;
  margin: 0 10px;
  text-transform: uppercase;
}

.top-games .buttons .secondry-btn {
  font-size: 19px;
  border: 2px solid;
  border-image-source: linear-gradient(52deg, rgb(72 39 219) 18%, rgb(207 147 217) 60%, rgb(203 37 168) 100%);
  border-image-slice: 4;
  text-transform: uppercase;
}

.top-games .cards {
  max-width: 87%;
  gap: 25px;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 7rem;
}

.top-games .cards .card {
  width: 397px;
  height: 537px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  background-color: rgba(255, 255, 255, 0.027);
  backdrop-filter: blur(30px);
  border: 1px rgba(194, 188, 188, 0.219) solid;
}

.top-games .cards .img {
  overflow: hidden;
  border-radius: 10px;
}

.top-games .cards img {
  transition: 0.8s;
  cursor: pointer;
}

.top-games .cards img:hover {
  transform: scale(1.2);
}

.top-games .cards h4 {
  width: 100%;
  font-family: var(--main-font-Lato);
  color: white;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
  text-transform: capitalize;
  padding-left: 20px;
}

.top-games .cards .user-info {
  width: 100%;
  display: flex;
  align-items: center;
  padding-left: 20px;
}

.top-games .cards h5 {
  font-family: var(--main-font-Lato);
  color: white;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.1;
  padding-left: 10px;
}

.top-games .cards h6 {
  font-family: var(--main-font-Lato);
  color: white;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.1;
  padding: 5px 10px;
}

.top-games .card button {
  width: 90%;
  height: 50px;
  background: linear-gradient(52deg, rgb(72 39 219) 18%, rgb(212 111 229) 60%, rgb(203 37 168) 100%);
}

.reviews {
  width: 100%;
  padding-bottom: 6rem;
}

.reviews .toptop-games {
  width: 100%;
}

.reviews .cards {
  display: flex;
  margin: 8rem 0 5rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 3rem;
}

.reviews .cards .card {
  width: 606px;
  min-height: 388px;
  padding: 50px;
  margin: 0 10px;
  position: relative;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.062);
  backdrop-filter: blur(30px);
  border: 1px rgba(194, 188, 188, 0.219) solid;
}

.reviews .cards .tag {
  position: absolute;
  top: -14%;
  right: 5%;
}

.reviews .card p {
  font-family: var(--main-font-Lato);
  color: white;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  padding: 10px 0 25px;
}

.reviews .card .line {
  border: none;
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.426), rgba(40, 39, 39, 0.356));
  height: 2px;
  margin-bottom: 5px;
}

.reviews .card .user-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 25px;
}

.reviews .card .user-name {
  display: flex;
  align-items: center;
}

.reviews .card .user-name img {
  margin: 0 10px 0 5px;
}

.reviews .card .user-name h5 {
  font-family: var(--main-font-Lato);
  color: white;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.1;
}

.reviews .card .user-name h6 {
  font-family: var(--main-font-Lato);
  color: white;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.1;
  padding: 7px 0 0 2px;
}

.reviews .pages-tabs {
  width: 100%;
  text-align: center;
}

footer {
  width: 100%;
  height: 529px;
  margin-top: 5rem;
  position: relative;
  color: #fff;
}

footer .overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 70px;
  position: relative;
}

.overlay::before {
  content: "";
  width: 100%;
  height: 100%;
  background: url(assets/img/footer/footer-background.png) no-repeat center / cover;
  mix-blend-mode: color-dodge;
  position: absolute;
  inset: 0;
}

footer .toptop-games {
  width: 100%;
  padding: 20px 0;
  position: absolute;
  top: -18%;
  left: 0;
  background-color: rgba(255, 255, 255, 0.103);
  backdrop-filter: blur(20px);
}

footer > div {
  padding-left: 7rem;
}

footer .top-footer {
  display: flex;
  width: 90%;
  gap: 11%;
}

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

footer p {
  font-family: var(--main-font-Lato);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.8;
  max-width: 315px;
}

footer h4 {
  font-family: var(--main-font-Lato);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

footer h5 {
  font-family: var(--main-font-Lato);
  font-size: 18px;
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.1;
  text-transform: capitalize;
  padding-top: 26px;
  cursor: pointer;
}
footer .bottom-footer {
  width: 90%;
}
footer .sponsors {
  max-width: 85%;
  display: flex;
  justify-content: space-evenly;
  cursor: pointer;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

footer .copyrights {
  margin: 50px 0;
  display: flex;
  align-items: center;
  position: relative;
  bottom: 0;
}

.copyrights .icon {
  border: 1px solid white;
  padding: 7px 9px;
  margin: 0 5px;
  border-radius: 50%;
  cursor: pointer;
}

.copyrights span {
  font-family: var(--main-font-Lato);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  margin-left: 15px;
}

@media (max-width: 1200px) {
  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.13);
    z-index: -1;
  }
  .discover .title h3 {
    font-size: 38px;
  }
  footer > div {
    padding-left: 0;
  }
    footer .toptop-games {

  top: -14%;

}
}
@media (max-width: 991px) {
  header {
    padding: 0 1rem;
    justify-content: space-between;
  }
  nav ul {
    position: absolute;
    right: 50%;
    top: 100%;
    transform: translateX(50%);
    display: block;
    background: rgb(80, 24, 123);
    background: linear-gradient(90deg, rgb(133, 42, 203) 13%, rgba(75, 25, 120, 1) 31%, rgba(59, 28, 113, 1) 53%, rgba(48, 31, 109, 1) 75%, rgb(73, 52, 159) 93%);
    width: 100%;
    height: 0;
    overflow: hidden;
    text-align: center;
  }
  nav ul li {
    width: fit-content;
    margin:1.5rem auto;
    text-shadow: 5px 5px 25px #00000081, 5px 5px 50px #00000096;
  }
  .menu-bar {
    display: block;
  }
  footer .overlay {
padding: 10px 0;
}
    footer .toptop-games {

  top: -13%;

}
}
@media (max-width: 764px) {
  .hero::before {
    background-position: center;
      background-size: cover;
  }
  .hero::after {
    background-color: rgba(0, 0, 0, 0.233);
  }
  .discover .title {
    max-width: 50%;
  }
  .discover .title h3 {
    max-width: 300px;
    font-size: 25px;
  }
  .discover .title p {
    max-width: 80%;
    line-height: 1.3;
  }
  footer {
    height: auto;
  }
  footer .top-footer {
    flex-direction: column;
    width: 60%;
    margin: auto;
    gap: 1rem;
  }
  footer .toptop-games {

  top: -6.3%;

}
}
@media (max-width:600px) {
    .hero h1 {
  font-size: 50px;
}
.hero p {
  font-size: 18.5px;
}
.btn {
  width: 132px;
  height: 50px;
  font-size: 16px;
}
.hero .statistics .card h4 {
  font-size: 25px;
}

.hero .statistics .card span {
  font-size: 16px;
}
.choose .title h2 {
  font-size: 44px;
}
.choose .title p {
  line-height: 1.4;
}
.discover .container {
  height: 456px;
}
.discover .title h3 {
  font-size: 20px;
}
.discover .title p {
  font-size: 14px;
}
.top-games h2 {
  font-size: 44px;
}
.top-games .buttons .primary-btn,.top-games .buttons .secondry-btn  {
  font-size: 12px;
}
footer .toptop-games {

  top: -4.5%;

}
}
