@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

:root {
  --orange: #f4694c;
  --orange-light: #fde1db;
  --black: #000308;
}

section {
  padding: 0 6%;
}
section .heading {
  font-size: 2.5rem;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
  color: #fff;
  font-size: 14px;
}
a:hover {
  color: var(--orange-light);
}
p {
  opacity: 0.7;
}
button {
  border: none;
}
button a {
  font-size: 1rem;
}
.bg-inherit {
  background-color: inherit;
}
.bg-orange {
  background: var(--orange);
  color: #fff;
}
.bg-orange-light {
  background: var(--orange-light);
}
.bg-black {
  background-color: var(--black);
  color: #fff;
}

/* NAVBAR and HERO section */
.hero-background {
  background: url(./assets/Photos/futuristic-bg.png) no-repeat top;
  background-size: cover;
  color: #fff;
}
nav {
  padding: 25px 6%;
  display: flex;
  align-items: center;
}
.nav-links {
  margin-left: 10%;
}
nav li {
  display: inline-block;
  margin: 0 15px;
}
nav .nav-buttons {
  margin-left: auto;
}
.nav-buttons #sign-in {
  background: inherit;
  padding: 10px 24px;
}
.nav-buttons #sign-up {
  padding: 10px 24px;
  background: var(--orange);
}

.hero {
  display: flex;
  justify-content: space-between;
  padding-top: 16vh;
  padding-bottom: 60px;
}
.hero-left {
  width: 50%;
}
.hero .heading {
  font-size: 3rem;
}
.hero .description {
  margin: 40px 0;
}
.hero-buttons button {
  margin-top: 18px;
  padding: 14px 36px;
}
.hero-buttons button:nth-child(2) {
  border: 1px solid #fff;
  margin-left: 20px;
  padding: 13px 35px;
}

.hero-right {
  width: 50%;
}
.hero-right .hero-play {
  width: 100%;
  height: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#play-button {
  cursor: pointer;
}
.hero-right #dash-img {
  position: relative;
  top: 22px;
  left: 22%;
}
.hero-right #rightarrow-img {
  position: relative;
  bottom: 25px;
  left: 88%;
}
.hero-right .play-description {
  opacity: 1;
  width: 200px;
  font-size: 20px;
  margin: auto;
}

/* Section- Popular Games */
.popular-games {
  padding-top: 100px;
}
.popular-games .heading {
  text-align: center;
  width: 60%;
  margin: auto;
  margin-bottom: 60px;
}
/* row */
.popular-games .games {
  display: flex;
  justify-content: space-between;
}
.card {
  width: 23%;
  height: 350px;
  color: #fff;
  display: flex;
}
.card-1 {
  background: url(./assets/Photos/image\ 2.png) no-repeat;
  background-size: cover;
  background-position: -260px 0;
}
.card-2 {
  background: url(./assets/Photos/image\ 4.png) no-repeat center;
  background-size: cover;
}
.card-3 {
  background: url(./assets/Photos/image\ 3.png) no-repeat center;
  background-size: cover;
}
.card-4 {
  background: url(./assets/Photos/Rectangle\ 56.png) no-repeat center;
  background-size: cover;
}
.card .card-description {
  backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.2);
  align-self: end;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
}
.card p {
  opacity: 1;
}
.card .game-category {
  opacity: 0.7;
}
.card .download-btn {
  padding: 6px 9px;
}
.card .download-btn a {
  font-size: 14px;
}

/*Section Game Explore */
.game-explore {
  margin: 120px 0;
  display: flex;
  gap: 80px;
}
.explore-left {
  background: url(./assets/Photos/Rectangle\ 57.png) no-repeat center;
  background-size: cover;
  width: 50%;
}
.game-explore .description {
  font-size: 14px;
  line-height: 2;
  margin: 18px 0;
}
.explore-right {
  width: 50%;
}
.explore-right button {
  margin: 20px 0;
  padding: 10px 24px;
}
.explore-right button:nth-child(2) {
  border: 1px solid var(--orange);
  padding: 9px 23px;
  margin-left: 20px;
}
.explore-right button:nth-child(2) a {
  color: var(--orange);
}

/* Section Weekly Recommendation */
.weekly-recommend .section-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.weekly-recommend .section-top .heading {
  width: 50%;
}
.weekly-recommend .section-top button {
  padding: 20px 16px;
  margin: 0 6px;
}
/* Recommended Games */
.weekly-recommend .games {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 60px;
  padding-top: 60px;
  padding-bottom: 120px;
}
.weekly-recommend .games .game {
  width: 46%;
  display: flex;
  gap: 25px;
}
.game img {
  width: 42%;
}
.game .game-heading {
  margin: 15px 0;
}
.game .game-category {
  color: var(--orange);
  font-weight: 500;
}
.game .game-description {
  font-size: 14px;
  line-height: 1.8;
  margin: 15px 0;
}
.game .game-download {
  padding: 12px 25px;
}

/* Most played games section */
.most-played {
  padding-top: 60px;
  padding-bottom: 60px;
  position: relative;
}
.most-played .heading {
  width: 40%;
  margin: auto;
  text-align: center;
}
.most-played .description {
  width: 62%;
  font-size: 14px;
  line-height: 2;
  margin: 80px 0px 0px 450px;
  padding-right: 150px;
}
.most-played #bg-text-img {
  width: 65%;
  position: absolute;
  right: 0;
  top: 380px;
  z-index: 0;
}
.most-played .images {
  display: flex;
  gap: 50px;
  padding-bottom: 30px;
  align-items: end;
}
.most-played .images img:nth-child(1) {
  width: 400px;
  height: 480px;
  position: relative;
  bottom: 120px;
  z-index: 4;
}
.most-played .images img:nth-child(2) {
  width: 300px;
  height: 400px;
  z-index: 4;
}
.most-played .images img:nth-child(3) {
  width: 300px;
  height: 270px;
}

/* Call to action section */
.cta {
  text-align: center;
  padding: 0;
}
.cta .cta-bg {
  width: 100%;
  position: absolute;
  left: 0;
  opacity: 0.6;
  z-index: 0;
}
.cta .cta-text {
  position: relative;
  z-index: 1;
}
.cta .heading {
  width: 50%;
  margin: auto;
  padding-top: 90px;
  line-height: 1.2;
}
.cta .description {
  margin: 30px auto;
  width: 35%;
}
.cta button {
  padding: 15px 35px;
  margin: 10px 0 100px 0;
}

/* Footer */
footer {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 50px 6%;
}
.footer-col-1 {
  width: 22%;
}
.footer-col-1 p {
  margin: 20px 0;
}
.footer-col-1 .socials img {
  margin: 10px;
  cursor: pointer;
}
footer ul li {
  margin: 20px 0;
}
footer ul li:first-child {
  font-weight: 500;
  margin-bottom: 10px;
}
footer li a {
  opacity: 0.7;
}
