body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-image: url("/images/cover.svg");
  font-family: "Poppins", sans-serif;
}

.body-wrap {
  display: flex;
  flex-direction: column;
  /* gap: 80px; */
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
  font-weight: 400;
  font-size: 20px;
  line-height: 100%;
  color: #ffffff;
}

.nav button {
  background-color: #fcc436;
  padding: 18px 50px;
  border-radius: 60px;
  border: none;
}

.header-wrap {
  background-image: url("/images/bg.svg");
  height: 600px;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 80px;
  padding: 10px 60px;
  margin: 30px 40px;
}

.logo {
  color: #ffffff;
}
.logo {
  display: flex;
  flex-direction: column;
}
.logo h1 {
  font-weight: 400;
  line-height: 100%;
  font-size: 43.09px;
}
.logo span {
  font-size: 50.93px;
  line-height: 150%;
  font-weight: 275;
  margin-bottom: -50px;
}

.headercontent {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  font-family: "Sora", sans-serif;
  position: relative;
  bottom: 10rem;
}

.headercontent h1 {
  font-weight: 700;
  font-size: 69.74px;
  color: #ffffff;
}

.games-section {
  position: relative;
  margin-bottom: -5rem;
  margin-top: -10rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 50px;
}

.decoration-controller img{
  height: 500px;
}

.cont{
    margin-top: 70px;
}

.games-title{
    font-weight: 700;
    font-size: 40px;
}

.games-description{
    font-weight: 300;
    font-size: 20px;
    width: 623px;
}

@media (max-width: 480px) {
  .logo h1 {
    font-weight: 400;
    line-height: 100%;
    font-size: 20px;
  }
  .logo span {
    font-size: 30px;
    line-height: 150%;
    font-weight: 275;
    margin-bottom: -20px;
  }
  .nav ul {
    display: none;
  }
  .body-wrap {
    padding: 0;
  }
  .headercontent h1 {
    font-size: 30px;
  }
  .header-wrap {
    background-image: url("/images/bg.svg");
    height: 300px;
    padding: 20px;
    margin: 20px;
  }
  .headercontent {
    flex-direction: column;
      bottom: 0rem;
  }

  .game .game-img {
    display: none;
  }

  .game .elipes-img {
    display: none;
  }

  .img-elipe {
    display: none;
  }
  .decoration-controller{
    display: none;
  }
  .games-section {
    position: relative;
    margin-bottom: 0;
    margin-top: -8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
  }

  .grid{
    padding: 20px !important;
      margin-top: 0;
  }
  
  .cont{
      margin-top: 70px;
  }
  
  .games-title{
      font-weight: 700;
      font-size: 40px;
  }
  
  .games-description{
      font-weight: 300;
      font-size: 20px;
      width: 100%;
  }
}

.game {
  display: flex;
  position: relative;
  top: 3rem;
}

.game .game-img {
  position: relative;
  width: 700px;
  right: 35em;
  margin-right: -35em;
}

.game .elipes-img {
  width: 400px;
}

.img-elipe {
  position: relative;
  bottom: 22rem;
  margin-bottom: -22rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  padding: 0 50px;
  margin-top: 40px;
}

.card {
  background: #fffaf3;
  border: 0.96px solid #ffe1b5;
  border-radius: 8px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
}

.card h3 {
  margin: 0.8rem 0 0.2rem;
  font-weight: 700;
}

.card p {
  flex: 1;
  font-size: 15.39px;
  font-weight: 300;
  color: #333;
}

.card button {
  background: #fcc436;
  height: 54.83px;
  color: #000000;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 57.72px;
  margin-top: 0.5rem;
  font-weight: 600;
  font-size: 18px;
  line-height: 100%;
}

.game-frame {
  margin-top: 2rem;
}

/* iframe {
  width: 100%;
  height: 600px;
  border: none;
}

@media (max-width: 600px) {
  iframe {
    height: 400px;
  }
} */


.description {
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 400px;
}


@media (max-width: 768px) {
  .ad-section {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .content-section {
    padding-left: 0;
  }

  .main-heading {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 40px 15px;
  }

  .main-heading {
    font-size: 28px;
  }

  .phone {
    width: 200px;
    height: 400px;
  }
}

footer{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 40px 0;
}
a{
  text-decoration: none;
  color: #4f8cff;
}
a:hover{
  text-decoration: underline;
}
small{
  display: flex;
  gap: 20px;
}

.game-frame {
  display: none;
  padding: 1rem;
}

.game-play-container {
  position: relative;
  width: 100%;
  height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.game-play-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.back-button {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #FCC436;
  color: #000;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.back-button:hover {
  background-color: #f0b700;
}
