@import url("https://fonts.googleapis.com/css2?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");

* {
  margin: 0;
  padding: 0;
}

html {
  background-color: #000000;
}

body {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  color: white;

  background-color: #000000;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(74, 40, 0, 1) 300%
  );
  background-repeat: no-repeat;

  overflow-x: hidden;
}

a {
  text-decoration: none;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

ul {
  list-style: none;
  display: flex;
  gap: 88px;
}

h2 {
  margin-bottom: 17px;
  margin-top: 121px;

  font-weight: 700;
  font-size: 20px;

  color: #e87d0e;
}

p {
  font-weight: 500;
  font-size: 18px;
  line-height: 200%;

  color: #ffffff;
}

ul {
  display: flex;
  align-items: center;
}

.header {
  position: relative; /* если ещё не стоит */
  z-index: 100;
}

.btn {
  background: #fa9021;
  border-radius: 6px;

  font-family: "Poppins";
  font-style: normal;

  padding: 11px 28px;

  color: #ffffff;
}

.container {
  max-width: 1146px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 178px;

  display: flex;
}

.logo {
  font-weight: 800;
  font-size: 29px;

  color: #ffffff;

  transition: opacity 0.3s;
}

li a {
  font-weight: 400;
  font-size: 18px;

  color: #ffffff;

  position: relative;

  transition: all 0.2s;
}

.hover__effect::after {
  content: "";
  position: absolute; /* фиксация относительно ссылки */
  left: 50%; /* ставит псевдоэлемент по центру */
  bottom: -10px; /* регулируешь расстояние до текста */
  transform: translateX(-50%); /* чтобы линия была по центру */
  width: 0; /* изначально линии нет */
  height: 5px;
  background: orange;
  border-radius: 5px;
  transition: width 0.3s ease; /* плавность */
}

.hover__effect:hover::after {
  width: 50px; /* появляется длина линии при наведении */
}

.btn {
  transition: all 0.4s;
}

.btn:hover {
  opacity: 0.8;
  transform: scale(1.07);
}

.container__nav {
  max-width: 1322px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-right: auto;
  margin-left: auto;
  padding-top: 44px;
  padding-left: 55px;
  padding-right: 55px;
}

.welcome__text {
  max-width: 527px;
}

.welcome__title {
  font-weight: 700;
  font-size: 50px;

  line-height: 155.2%;

  color: #ffffff;
  margin-bottom: 27px;
}

.welcome__desc {
  margin-bottom: 50px;
}

.welcome__btn {
  background: linear-gradient(92.48deg, #fa8305 2.08%, #fb9e3c 117.25%);
  border-radius: 40px;

  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-size: 18px;

  padding: 15px 30px;

  border: none;

  color: #ffffff;

  transition: all 0.4s;
}

.welcome__btn:hover {
  opacity: 0.8;
  transform: scale(1.07);
}

.welcome__img {
  height: 600px;
  margin-top: 80px;
  margin-left: 60px;

  transition: all 1.5s ease;
}

.welcome__img:hover {
  transform: scale(1.03);
}

/* TRENDING GAMES */

.trending__games .container {
  display: flex;
  flex-direction: column;
  margin-bottom: 67px;
}

.title__and__button {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-bottom: 57px;
}

.trending__games__title {
  margin: initial;

  font-weight: 700;
  font-size: 31px;

  color: #ffffff;
}

.see__all__button {
  background: rgba(255, 255, 255, 0.11);
  border: none;
  border-radius: 10px;

  font-weight: 600;
  font-size: 20px;

  padding: 10px 30px;

  color: #ffffff;

  transition: transform 0.3s ease;
}

.see__all__button:hover {
  cursor: pointer;
  transform: scale(1.08);
}

.pictures {
  display: flex;
  align-items: center;
  /* justify-content: space-between; */
  /* flex-wrap: wrap; */
  gap: 47px;
}

.card__img {
  margin-bottom: 25px;
  border-radius: 20px;

  transition: transform 0.6s ease;
}

.card__img:hover {
  cursor: pointer;
  transform: scale(1.06);
}

.card {
  display: flex;
  flex-direction: column;

  align-items: center;
}

.card__desc {
  font-weight: 500;
  font-size: 22px;
}

.card__desc::before {
  content: url("../images/fire.svg");
  margin-right: 10px;

  vertical-align: -3px;
  display: inline-block;
}

.lorem__title {
  font-weight: 600;
  font-size: 35px;
  line-height: 187.5%;

  text-align: center;

  max-width: 826px;
  margin-right: auto;
  margin-left: auto;

  color: #ffffff;
}

/* SPIDERMAN */

.spiderman .container {
  display: flex;
  flex-direction: column;
}

.spiderman__title {
  font-weight: 600;
  font-size: 30px;

  color: #ffffff;
}

.spiderman__desc {
  max-width: 560px;

  font-size: 18px;
  line-height: 187.5%;

  margin-bottom: 46px;
}

.img__wrapper {
  position: relative;
}

.spiderman__img {
  border-radius: 5px;
}

.img__wrapper::after {
  content: "";
  position: absolute;
  top: -68px;
  left: 820px;
  width: 200px;
  height: 154px;
  background-image: url("../images/dotes.svg"); /* ✅ так работает */
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}

/* BENEFITS */

.benefits {
  position: relative;

  max-width: 1867px;
  max-height: 881px;
  width: 100%; /* на маленьких экранах секция всегда 100% */
  height: 880px;
  margin-right: auto;
  margin-left: auto;

  margin-top: 157px;
  /* margin-bottom: 141px; */

  background-image: url("../images/benefits_img.png");
  background-repeat: no-repeat;
  background-size: cover; /* чтобы фон занимал всю ширину */
  background-position: center; /* центрируем по центру картинки */
}

.benefits::before {
  content: "";
  position: absolute;

  top: -1px;
  left: 0;

  width: 100%;
  height: 101%;

  background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
    rgba(0, 0, 0, 0.54); /* затемнение */
  backdrop-filter: blur(2px);
  z-index: 1;
}

.benefits .container {
  display: flex;
  flex-direction: column;
  /* align-items: flex-end; */

  position: relative;
  z-index: 5;

  /* margin-bottom: 145px; */
}

.benefits__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 100px;
}

.benefits__title {
  font-weight: 700;
  font-size: 30px;
  line-height: 187.5%;
  text-align: center;

  color: #ffffff;

  max-width: 826px;

  margin: 0;
  padding-top: 93px;
  margin-bottom: 25px;
}

.benefits__desc {
  max-width: 825px;
  text-align: center;
}

.all__circles__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 62px 100px;
  align-items: center;
  justify-content: center;

  margin-right: 50px;
  margin-left: 50px;
  margin-bottom: 86px;
}

.circle__wrapper {
  display: flex;
  flex-direction: column;

  align-items: center;
}

.circle__wrapper::after {
  content: "";
  background-image: url("../images/right_arrow.svg");
  background-repeat: no-repeat;

  margin-top: 25px;
  width: 21px;
  height: 18px;
}

.circle {
  width: 65px;
  height: 65px;

  margin-bottom: 30px;

  transition: all 0.5s;
}

.circle:hover {
  transform: scale(1.08);
}

.circle__desc {
  font-weight: 500;
  font-size: 17px;
  line-height: 187.5%;
  /* text-align: center; */
}

/* PROJECTS */

.projects .container {
  display: flex;
  flex-direction: column;
  align-items: center;

  margin-bottom: 105px;
}

.projects__text {
  display: flex;
  flex-direction: column;
  align-items: center;

  padding-top: 145px;
}

.projects__title {
  margin: 0;
  margin-bottom: 15px;

  font-weight: 700;
  font-size: 30px;
  line-height: 187.5%;
  text-align: center;

  color: #ffffff;
}

.projects__desc {
  margin: 0;
  margin-bottom: 70px;

  max-width: 535px;
  text-align: center;
}

.cards__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: space-around;

  margin-bottom: 72px;
}

.projects__card {
  border-radius: 20px;
}

.second__background {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(74, 40, 0, 1) 300%
  );
}

/* SUBSCRIPTION */

.subscription .container {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.subscription__title {
  font-weight: 600;
  font-size: 30px;
  line-height: 187.5%;
  margin: 0;
  margin-bottom: 32px;

  color: #ffffff;
}

.subscription__desc {
  font-size: 18px;
  line-height: 187.5%;
  max-width: 545px;

  color: #ffffff;

  margin-bottom: 74px;
}

.subscribe__card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 120px;
  background-color: #1c140f;
  border-radius: 15px;

  margin-bottom: 165px;
}

.subscribe__card__text {
  display: flex;
  flex-direction: column;

  margin-top: 40px;
  margin-bottom: 40px;
  /* margin-left: 56px; */

  max-width: 523px;
}

.subscribe__card__title {
  font-weight: 500;
  font-size: 30px;
  margin: 0;
  margin-bottom: 10px;

  color: #ffffff;
}

.subscribe__card__desc {
  font-size: 18px;
  /* max-width: 523px; */
}

.subscribe__form {
  position: relative;
  /* margin-right: 50px; */
}

.subscribe__btn {
  position: absolute;
  top: 50%;
  right: 6px;

  transform: translateY(-50%);

  color: #ffffff;

  background: #dc7000;
  border-radius: 8px;
  border: none;

  padding: 10px 20px;

  transition: all 0.3s;
}

.subscribe__btn:hover {
  background-color: #ba6306;
  cursor: pointer;
}

input {
  padding-left: 20px;

  height: 48px;
  width: 385px;

  border-radius: 8px;

  border: none;
  outline: none;

  box-sizing: border-box;
}

input:focus {
  outline: none;
  border: 2px solid #dc7000; /* своя красивая рамка */
}

input::placeholder {
  color: #898989;
}

/* FOOTER */

.footer {
  background-color: #000000;
  border-bottom: 1px solid #d2d2d2;
}

.footer .container__nav {
  padding-bottom: 56px;
  padding-top: 70px;
  display: flex;
  align-items: stretch;
  /* justify-content: space-between; */
  gap: 120px;
}

.footer .logo {
  font-size: 24px;
  display: inline-block;
  margin-bottom: 15px;
}

.logo__column__desc {
  line-height: 24px;
  margin-bottom: 25px;
  max-width: 385px;
}

.logo__column__mail {
  color: #ffffff;
}

.about__us__column__title {
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 15px;
}

.about__us__column__thing {
  color: #ffffff;
}

.contact__us__column__title {
  font-weight: 400;
  font-size: 16px;
  margin-bottom: 15px;
}

.about__us__column__things__wrapper {
  display: flex;
  flex-direction: column;
}

.contact__us__column__desc {
  font-weight: 400;
  max-width: 282px;
  margin-bottom: 11px;
}

.contact__us__column__number {
  color: #ffffff;
}

.socials__column {
  display: flex;
  align-items: flex-end;
  /* gap: 16px; */
}

.socials__column img {
  width: 70px;
}

.socials__img {
  transition: all 0.5s;
}

.socials__img:hover {
  transform: scale(1.1);
}

.copyright {
  background-color: #000000;
  height: 85px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.copyright h3 {
  font-weight: 400;
  font-size: 15px;
}

/*! SECOND PAGE*/

.about__us__hero {
  margin-top: 60px;
}

.about__us__hero .container {
  display: flex;
  align-items: center;

  overflow: visible;
  position: relative;

  margin-bottom: 144px;
}

.about__us__text {
  display: inline-flex;
  flex-direction: column;
}

.home__link {
  color: white;
  font-size: 16px;
}

.current__page__link {
  font-size: 16px;

  color: #e47500;
}

.about__us__hero__title {
  font-size: 30px;
  line-height: 180.5%;

  margin-top: 38px;
  margin-bottom: 25px;

  max-width: 425px;
}

.about__us__hero__desc {
  font-weight: 400;
  font-size: 17px;
  line-height: 208.5%;

  margin-bottom: 57px;

  max-width: 414px;
}

.about__us__hero .welcome__btn {
  padding: 13px 23px;
  align-self: flex-start;
}

/* .about__us__hero .welcome__btn::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 10px;
  background-image: url("../images/right_arrow_get_in_touch.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;

  margin-left: 14px;
} */

.about__us__slider {
  position: relative;
  right: -170px;
  width: 640px; /* ширина слайдера */
  height: 550px; /* высота слайдера */
  overflow: hidden;

  /* border: 2px solid #fa9021; */
  border-radius: 6px;
}

.slides img {
  position: absolute;
  top: 0;
  left: 0;

  object-fit: cover;
  object-position: center;

  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease; /* плавная смена */
}

.slides img.active {
  opacity: 1;
}

.slider__controls {
  position: absolute;
  bottom: 10px;
  left: 10px;
}

.slider__controls button {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  padding: 11px 24px;
  margin-right: 5px;
  cursor: pointer;

  font-size: 15px;
}

/* WHY WORK WITH US */

.why__work__with__us .container {
  display: flex;
  flex-direction: column;

  max-width: 1180px;

  margin-bottom: 147px;
}

.why__work__with__us__title {
  margin-bottom: 63px;
  font-size: 21px;
}

.why__work__with__us__wrapper {
  display: flex;
  gap: 43px;
}

.why__work__with__us__card {
  background-color: #1c140f;
  border-radius: 20px;

  padding: 37px;
}

.why__work__with__us__card__pre-title {
  border-radius: 8px;

  display: inline-block;

  padding: 7px 35px 7px 14px;
  margin-bottom: 25px;
}

.pre-title--violet {
  background: rgba(176, 0, 220, 0.11);
}

.pre-title--orange {
  background: rgba(220, 66, 0, 0.11);
}

.pre-title--green {
  background: rgba(0, 220, 141, 0.11);
}

.why__work__with__us__card__title {
  font-weight: 600;
  font-size: 20px;

  margin-bottom: 16px;
}

.why__work__with__us__card__desc {
  font-weight: 400;
  font-size: 16px;
  line-height: 187.5%;

  max-width: 290px;

  color: #ffffff;
}

/* GIRL */

.girl {
  background-color: #1c140f;

  padding: 113px 0;
  margin-bottom: 147px;
}

.girl .container {
  margin-bottom: 0;
}

.girl__img {
  border-radius: 10px;
  width: 490px;
  height: 490px;

  margin-right: 95px;
}

.girl__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 536px;
}

.girl__pre--title {
  font-weight: 500;
  font-size: 17px;

  margin-bottom: 14px;
}

.girl__title {
  font-weight: 600;
  font-size: 28px;
  line-height: 157.5%;

  margin-bottom: 14px;

  max-width: 530px;
}

.girl__desc {
  font-weight: 400;
  line-height: 202.5%;
}

/* OUR TEAM */

.our__team .container {
  display: flex;
  flex-direction: column;

  margin-bottom: 157px;
}

.out__team__title {
  font-weight: 600;
  font-size: 25px;
  margin: 0;
  margin-bottom: 53px;

  color: #ffffff;
}

.members__wrapper {
  display: flex;
  gap: 28px;
}

.member {
  display: flex;
  flex-direction: column;

  background-color: #1c140f;
  border-radius: 20px;

  align-items: center;
}

.member_face {
  width: 120px;

  margin: 35px 86px 0 86px;
}

.member__name {
  margin: 0;

  font-weight: 600;
  font-size: 19px;
  color: #ffffff;
}

.member__job {
  font-weight: 300;

  margin-bottom: 30px;

  color: #e8e8e8;
}

/* PORTFOLIO */

.portfolio__hero {
  margin-top: 110px;
}

.portfolio__hero .container {
  display: flex;
  flex-direction: column;

  margin-bottom: 120px;
}

.portfolio__text {
  text-align: center;
  margin-bottom: 45px;
}

.portfolio__hero .from__home__links__wrapper {
  margin-bottom: 15px;
}

.portfolio__hero__title {
  font-weight: 600;
  font-size: 33px;

  margin-bottom: 13px;
}

.portfolio__stats {
  display: flex;
  gap: 110px;

  margin-left: auto;
  margin-right: auto;
  padding: 0 90px;

  background-color: #1c140f;
  border-radius: 10px;
}

.portfolio__card {
  display: flex;
  gap: 36px;

  align-items: center;
}

.number {
  font-size: 25px;
}

.card__stats__name {
  font-weight: 400;
  font-size: 20px;
}

.stats__divider {
  margin-top: 37px;
  margin-bottom: 37px;
}

/* VIDEO */

.video__text {
  max-width: 384px;

  margin-left: 87px;
}

.video__title {
  font-size: 30px;
  line-height: 180.5%;

  margin-bottom: 12px;
}

.video__desc {
  font-weight: 400;
  font-size: 16px;
  line-height: 187.5%;

  margin-bottom: 28px;
}

.video__feature {
  font-weight: 400;
  font-size: 16px;

  margin-bottom: 19px;
}

.video__feature::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;

  margin-right: 12px;

  background-image: url("../images/checkmark.svg");
  background-repeat: no-repeat;
}

.video__feature:last-child {
  margin: 0;
}

/* CHAT GPT CODE*/

.video-wrap {
  /* position: relative; */
  /* width: 100%; */
  max-width: 670px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
}

.video-wrap video {
  width: 100%;
  /* height: auto; */
  /* display: block; */
  border-radius: 16px;
  cursor: pointer;
}

.games__info__1 .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.games__info__2 .container {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
}

.games__info__3 .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.games__info__title {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-size: 32px;
  line-height: 45px;

  margin: 0;
  margin-bottom: 43px;

  max-width: 472px;

  color: white;
}

.games-info__button {
  font-size: 17px;
}

.games__info__desc1 {
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;

  max-width: 536px;

  margin-bottom: 18px;
}

.games__info__desc2 {
  font-weight: 400;
  font-size: 18px;
  line-height: 26px;

  max-width: 508px;

  margin-bottom: 46px;
}

.games-info__button {
  display: inline-block;
  border: none;
}

/*

chat gpt code

*/

.testimonials__text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonials__title {
  margin: 0;
  margin-bottom: 20px;
  margin-top: 88px;

  font-weight: 500;
  font-size: 35px;
  text-align: center;

  max-width: 448px;

  color: #ffffff;
}

.testimonials__desc {
  font-weight: 400;
  font-size: 14px;
  line-height: 187.5%;

  margin-bottom: 68px;

  max-width: 555px;

  text-align: center;
}

.reviews {
  background-color: #1c140f;
}

.reviews .container {
  display: flex;
  flex-direction: column;
  margin-bottom: 120px;
}

.reviews__track {
  display: flex;
  gap: 50px;
  overflow: hidden;
  scroll-behavior: smooth;
}

.review-card {
  flex: 0 0 auto;
  background: #fff;
  border-radius: 10px;
  border: 2px solid #dddddd;
  padding: 30px;

  background-color: #0f0901;

  transition: all 0.3s;
}

.review-card:hover {
  border-color: #dc7000;
}

.review-card__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.review__text__wrapper {
  display: flex;
}

.review-card__name {
  font-weight: 500;
  font-size: 18px;
}

.review__card__subtitle {
  font-weight: 400;
  font-size: 14px;

  color: #4f5665;
}

.review__card__name__and__place {
  margin-left: 20px;
}

.review-card__stars {
  color: white;
  font-size: 16px;
  margin-left: 108px;
  align-self: center;
}

.review-card__stars::after {
  content: "";
  display: inline-block;
  width: 15px;
  height: 13px;
  background-image: url("../images/review_star.svg");
  background-repeat: no-repeat;

  margin-left: 11px;
}

.review-card__text {
  font-weight: 400;
  font-size: 16px;
  line-height: 187.5%;

  max-width: 340px;

  margin-top: 20px;
}

.reviews__nav {
  display: flex;
  gap: 20px;
  align-self: center;
  margin-top: 60px;
  margin-bottom: 60px;
}

.arrow-btn {
  width: 60px;
  height: 60px;
  border: 2px solid #f47c00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s ease;
  background-color: transparent;
}

.arrow-icon {
  width: 28px;
  height: 28px;
  stroke: #f47c00;
  fill: none;
  transition: all 0.4s ease;
}

/* наведение */
.arrow-btn:hover {
  background-color: #f47c00;
  transform: scale(1.08);
}

.arrow-btn:hover .arrow-icon {
  stroke: #ffffff;
}

.gray {
  background-color: #1b1b1b;
  margin-bottom: 140px;
}

/* NEWS*/

.hero--news .container {
  align-items: center;
}

.text--news {
  margin-bottom: 0;
}

.search-wrapper {
  position: relative;
  margin-top: 74px;

  width: 400px; /* можешь изменить под нужную ширину */
}

.search-input {
  width: 100%;
  padding: 14px 20px 14px 55px; /* отступ под иконку */
  border: none;
  border-radius: 10px;
  background-color: #2b1e15; /* как в макете */
  color: #ffffff;
  font-size: 18px;
  outline: none;

  align-self: center;

  transition: box-shadow 0.3s ease;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.7);
  transition: opacity 0.2s ease;
}

/* эффект исчезновения placeholder при фокусе */
.search-input:focus::placeholder {
  opacity: 0;
}

/* мягкая подсветка при фокусе */
.search-input:focus {
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}

/* иконка */
.search-icon {
  position: absolute;
  top: 50%;
  left: 20px;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  pointer-events: none;
}

/* NEWS CARDS AND ARTICLES*/

.news .container {
  display: flex;
  gap: 70px;

  max-width: 1250px;
  margin-bottom: 90px;
}

.column {
  flex: 1;
}

.news__game__card__img {
  border-radius: 20px;
  object-fit: contain;
  object-position: center;

  margin-bottom: 20px;
}

.pre-title {
  display: flex;
  align-items: center;
  gap: 20px;

  margin-bottom: 20px;
}

.author__name {
  background-color: #2351f5;
  padding: 10px 30px;

  font-weight: 400;
}

.reading__time {
  font-weight: 400;
}

.news__game__card__title {
  font-weight: 600;
  font-size: 30px;
  line-height: 45px;

  max-width: 575px;

  margin: 0;
  margin-bottom: 30px;

  color: #fff;
}

.news__game__card__desc1 {
  font-weight: 400;
  font-size: 18px;
  line-height: 207.8%;

  margin-bottom: 44px;
}

.news__game__card__desc2 {
  font-weight: 400;
  font-size: 18px;
  line-height: 207.8%;
}

.news__game_card__divider {
  margin-top: 60px;
  margin-bottom: 80px;
  color: red;

  object-fit: contain;
}

.news__article__cards__wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.news__article__card {
  display: flex;
}

.news__article__img {
  width: 195px;
  height: 183px;
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
}

.news__article__text-wrapper {
  margin-left: 30px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news__article__title {
  margin: 0;

  font-weight: 600;
  font-size: 23px;
  line-height: 34px;

  color: #ffffff;

  max-width: 390px;
}

.right .author__name:nth-child(1) {
  font-size: 14px;

  padding: 8px 26px;
}

.news__article__card:nth-child(1) .author__name {
  background-color: #ff8484;
}

.news__article__card:nth-child(2) .author__name {
  background-color: #2351f5;
}

.news__article__card:nth-child(3) .author__name {
  background-color: #ff7c32;
}

.news__article__card:nth-child(4) .author__name {
  background-color: #2351f5;
}

.news__article__card:nth-child(5) .author__name {
  background-color: #23a54f;
}

.news__article__card:nth-child(6) .author__name {
  background-color: #2351f5;
}

.news__article__card:nth-child(7) .author__name {
  background-color: #9921c3;
}

.right .reading__time {
  font-size: 14px;
}

.subscribe__card-news {
  gap: 200px;
  margin-bottom: 140px;
}

.news__container {
  max-width: 1250px;
}

.container__nav-news {
  gap: 70px;
  max-width: 1250px;
}

.global {
  margin-top: 93px;
}

/* CONTACT INFO*/

.contact__info {
  display: flex;
}

.contact__info .container {
  align-items: center;
  justify-content: center;
  gap: 80px;
}

.follow__us__title {
  font-weight: 400;
  font-size: 17px;

  margin-bottom: 18px;
}

.social__media__contact-wrapper {
  display: flex;
  gap: 16px;
}

.contact__social__icon img {
  width: 35px;
}

.divider__contact__vertical {
  object-fit: contain;
}

.contact__number {
  font-weight: 300;
  font-size: 20px;
}

.contact__number::before {
  content: "";
  width: 30px;
  height: 30px;
  display: inline-block;
  background-image: url("../images/contact_phone_icon.svg");
  background-repeat: no-repeat;
  object-fit: contain;
  object-position: center;

  margin-right: 25px;

  transform: translateY(25%);
}

.contact__location {
  max-width: 325px;

  position: relative;
  padding-left: 45px;

  font-weight: 300;
  font-size: 20px;
  line-height: 30px;
}

.contact__location::before {
  content: "";
  width: 30px;
  height: 30px;
  position: absolute;
  /* display: inline-block; */
  background-image: url("../images/contact_location_icon.svg");
  background-repeat: no-repeat;
  object-fit: contain;
  object-position: center;

  top: 50%;
  left: -0;
  transform: translateY(-50%);
}

/* ------------ */

.input__name-wrapper {
  display: flex;
  gap: 27px;

  margin-bottom: 20px;
}

.name__wrapper input {
  width: 100%;
  height: 56px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid #cecece;

  color: #fff; /* цвет текста */
  caret-color: #fff;
}

.name__wrapper {
  width: 50%;
}

.input__name-wrapper input::placeholder {
  visibility: hidden;
}

.input__other-wrapper {
  display: flex;
  flex-direction: column;

  margin-bottom: 50px;
}

.input__other-wrapper textarea {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid #cecece;
  padding-left: 15px;
  padding-top: 15px;

  color: #fff; /* цвет текста */
  caret-color: #fff;
}

.input__other-wrapper textarea::placeholder {
  visibility: hidden;
}

.input__other-wrapper textarea {
  outline: none;
  width: 100%;
  height: 232px;

  box-sizing: border-box;
}

.input__other-wrapper .name__wrapper {
  width: 100%;
}

.email__input {
  width: 100%;
  margin-bottom: 20px;
}

.email__input::placeholder {
  visibility: hidden;
}

/* ! say hello section */

.say__hello {
  display: flex;
  position: relative;

  background-color: #1c140f;
  overflow: hidden;

  margin-bottom: 150px;
}

.say__hello .container::before {
  content: "";
  position: absolute;
  display: inline-block;
  width: 1048px;
  height: 265px;
  top: -25px;
  right: 115px;
  background-image: url("../images/contact_form_orange_line.svg");
  background-repeat: no-repeat;

  padding-bottom: 10px;
}

.say__hello .container::after {
  content: "";
  position: absolute;
  display: inline-block;
  width: 1048px;
  height: 265px;
  bottom: -52px;
  left: -200px;
  rotate: 202deg;
  background-image: url("../images/contact_form_orange_line.svg");
  background-repeat: no-repeat;

  padding-bottom: 10px;
}

.say__hello input,
textarea {
  font-size: 19px;
}

.say__hello .container {
  display: flex;
  flex-direction: column;
  margin-bottom: 50px;
}

.say__hello__text {
  text-align: center;
  margin-top: 54px;
}

.say__hello__title {
  font-weight: 400;
  font-size: 30px;

  margin: 0;

  color: #ffffff;
}

.say__hello__desc {
  font-weight: 500;
  font-size: 17px;
  line-height: 189.5%;
  margin-bottom: 79px;
}

.get__in__touch__form {
  width: 670px;

  display: flex;
  flex-direction: column;
}

.say__hello .btn {
  align-self: flex-end;
  border: none;
  cursor: pointer;

  padding-left: 35px;
  padding-right: 35px;
}

.form__name__title {
  margin-bottom: 3px;

  font-weight: 500;
  font-size: 16px;

  letter-spacing: -0.3px;

  color: #4f4f4f;
}

.say__hello .btn {
  font-size: 17px;
}

.name__wrapper h3 {
  transition: color 0.3s;
}

.name__wrapper:focus-within h3 {
  color: #fff; /* цвет при фокусе */
}

/* !!! СТИЛИ ДЛЯ БУРГЕР МЕНЮ*/

/* контейнер, как и был, скорее всего уже display:flex */
.container__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* список навигации в ряд (тут можешь оставить свои стили) */
.nav__list {
  display: flex;
  align-items: center;
  gap: 32px; /* или твой отступ */
  list-style: none;
}

/* По умолчанию бургер скрыт — нужен только на мобилке */
.burger {
  display: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

/* Полоски бургера */
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger span + span {
  margin-top: 5px;
}

/* !!! СТИЛИ ДЛЯ БУРГЕР МЕНЮ*/

/* АДАПТАЦИЯ*/

@media (max-width: 1400px) {
  .about__us__slider {
    right: -70px;
  }
}

@media (max-width: 1300px) {
  .container__nav {
    max-width: 1148px;
  }

  .logo__column {
    max-width: 20%;
  }

  .footer .container__nav {
    gap: 70px;
  }

  .say__hello {
    justify-content: center;
  }
}

@media (max-width: 1200px) {
  .subscription__text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .subscription__desc {
    text-align: center;
  }

  .subscribe__card__desc {
    max-width: 430px;
  }

  .welcome__img {
    height: 500px;
    margin-top: 126px;
    margin-left: 0px;
  }

  .welcome__text {
    padding-left: 55px;
  }

  .container {
    margin-left: 30px;
    margin-right: 30px;
  }

  .cards__wrapper {
    justify-content: center;
  }

  .about__us__slider {
    width: 490px;
    height: 450px;
  }

  .about__us__text {
    padding-left: 50px;
  }

  .why__work__with__us__title {
    font-size: 28px;
  }

  .contact__info {
    justify-content: center;
  }

  .contact__info .container {
    gap: 40px;
  }
}

@media (max-width: 1150px) {
  .video .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .video__text {
    text-align: center;
    margin: 0;
    margin-top: 30px;
  }

  .games__info__img {
    width: 450px;
  }

  .games__info__1 .container,
  .games__info__2 .container,
  .games__info__3 .container {
    gap: 30px;
  }

  .contact__location {
    max-width: 280px;
  }
}

@media (max-width: 1100px) {
  .contact__us__column__desc {
    max-width: 200px;
  }

  .img__wrapper::after {
    display: none;
  }

  .about__us__slider {
    right: -35px;
  }

  .about__us__text {
    max-width: 380px;
  }

  .why__work__with__us__title {
    text-align: center;
  }

  .girl__img {
    margin-right: 50px;
  }
}

@media (max-width: 1050px) {
  .welcome__img {
    height: 450px;
  }

  .welcome .container {
    gap: 30px;
  }

  .footer .container__nav {
    flex-direction: column;
    align-items: center;
  }

  .logo__column {
    text-align: center;
  }

  .about__us__column {
    text-align: center;
  }

  .contact__us__column {
    text-align: center;
  }

  .subscribe__card {
    gap: 70px;
  }

  .welcome__text {
    padding-left: 25px;
  }

  .about__us__hero .container {
    flex-direction: column;
  }

  .about__us__text {
    padding: 0;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
  }

  .about__us__hero .welcome__btn {
    align-self: center;
  }

  .about__us__slider {
    right: 0;
  }

  .why__work__with__us__card {
    text-align: center;
  }

  .why__work__with__us__card__pre-title {
    padding-right: 14px;
  }

  .portfolio__stats {
    gap: 40px;
    padding: 0 50px;
  }

  .news__article__card {
    flex-direction: column;
    align-items: center;
    max-width: 220px;
  }

  .news__article__text-wrapper {
    margin: 0;
    align-items: center;
  }

  .news__article__title {
    text-align: center;
  }

  .news__article__img {
    margin-bottom: 30px;
  }

  .news__article__cards__wrapper {
    align-items: center;
  }

  .contact__social__icon img {
    width: 47px;
  }

  .contact__number {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .contact__number::before {
    margin: 0;
  }

  .contact__location {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 0;
    text-align: center;
    max-width: 230px;
  }

  .contact__location::before {
    position: relative;
  }

  .follow__us__title {
    text-align: center;
  }

  .contact__info .container {
    gap: 20px;
  }
}

@media (max-width: 970px) {
  .subscribe__card__desc {
    max-width: 330px;
  }

  .header ul {
    gap: 40px;
  }

  .welcome .container {
    flex-direction: column;
    align-items: center;
  }

  .welcome__text {
    text-align: center;
    padding-left: 0;
    max-width: 615px;
  }

  .welcome__img {
    width: 470px;
    margin-top: 90px;
    margin-left: -55px;
  }

  .all__circles__wrapper {
    gap: 62px 50px;
  }

  .girl {
    padding: 80px 0;
  }

  .girl .container {
    flex-direction: column;
    align-items: center;
  }

  .girl__text {
    text-align: center;
  }

  .girl__img {
    margin: 0;
    margin-bottom: 40px;
  }

  .members__wrapper {
    flex-wrap: wrap;
    justify-content: center;
  }

  .our__team .container {
    align-items: center;
  }

  .games__info__1 .container,
  .games__info__2 .container,
  .games__info__3 .container {
    flex-direction: column-reverse;
    margin-bottom: 70px;
  }

  .games__info__text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 880px) {
  .card__desc {
    font-size: 16px;
  }

  .pictures {
    gap: 24px;
  }

  .all__circles__wrapper {
    gap: 50px 50px;
  }

  .circle__wrapper {
    max-width: 100px;
    text-align: center;
  }

  .subscribe__card {
    flex-direction: column;
    gap: 30px;
  }

  .subscribe__card__text {
    text-align: center;
    margin-bottom: 0;
    display: flex;
    align-items: center;
  }

  .subscribe__form {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 40px;
  }

  .our__team .container {
    flex-direction: column;
    align-items: center;
  }

  .member_face {
    margin: 25px 60px 0 60px;
  }

  .stats__divider {
    display: none;
  }

  .portfolio__stats {
    flex-direction: column;
    padding: 30px 50px;
  }

  .portfolio__card {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .news__game__card__title {
    font-size: 22px;
  }

  .news .container {
    gap: 40px;
  }
}

@media (max-width: 800px) {
  .why__work__with__us__wrapper {
    flex-direction: column;
    align-items: center;
  }

  .why__work__with__us__card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 300px;
  }

  .contact__info .container {
    flex-direction: column;
  }

  .divider__contact__vertical {
    display: none;
  }

  .contact__info .container {
    gap: 60px;
  }
}

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7); /* степень затемнения */
  backdrop-filter: blur(8px); /* блюр */
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 90; /* ниже меню */
}

/* когда меню открыто — включаем overlay */
body.menu-open .menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* чтобы фон не скролился при открытом меню (по желанию) */
body.menu-open {
  overflow: hidden;
}

/* !!! */

@media (max-width: 768px) {
  .burger--active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .burger--active span:nth-child(2) {
    opacity: 0;
  }

  .burger--active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* Показываем бургер */
  .burger {
    display: block;
  }

  .logo {
    margin-bottom: 0px;
  }

  .welcome h2 {
    margin-top: 50px;
  }

  .container__nav {
    flex-direction: column;
    gap: 5px;
  }

  /* Меню не должно быть видно всегда */
  .nav__list {
    position: absolute;
    top: 95px; /* отступ от верха (подгони под свой header) */
    right: 0px;
    left: 0px;

    display: flex;
    flex-direction: row;
    gap: 16px;
    padding: 16px 20px;
    background: #000000; /* подгони под свой фон */
    border-bottom: 2px solid white;

    /* начальное состояние — спрятано */
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.35s ease, transform 0.35s ease;

    z-index: 100;
  }

  .nav__list li {
    text-align: center;
  }

  /* Когда меню открыто (класс добавит JS) */
  .nav__list.nav__list--open {
    display: flex;
    flex-direction: column;
    justify-content: center;

    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);

    padding-bottom: 40px;
    padding-top: 40px;
  }

  .header .container__nav {
    display: flex;
    flex-direction: row;
  }

  .header .container__nav {
    display: flex;
    align-items: center;
    justify-content: space-between; /* лого слева, бургер справа */
  }

  .burger {
    display: block;
    margin-left: auto; /* на всякий пожарный, чтобы прижать вправо */
  }

  .nav {
    position: absolute; /* вытаскиваем nav из flex-раскладки */
    top: 0;
    left: 0;
    width: 100%;
    /* можно ничего больше не трогать — ul .nav__list уже позиционируется сам */
  }

  .container__nav {
    padding-top: 20px;
    padding-left: 30px;
    padding-right: 30px;
  }
}

/* !!! */

@media (max-width: 750px) {
  .header ul {
    flex-direction: column;
  }

  .header .container__nav {
    flex-direction: row;
  }

  .logo {
    margin-bottom: 0px;
  }

  .get__in__touch__form {
    width: 480px;
  }

  .contact__info .container {
    margin-bottom: 80px;
  }

  .portfolio__hero .container {
    margin-bottom: 80px;
  }

  .nav__list {
    top: 70px; /* отступ от верха (подгони под свой header) */
  }

  .say__hello .container {
    align-items: center;
  }
}

@media (max-width: 705px) {
  .benefits__text {
    margin-bottom: 50px;
  }
}

@media (max-width: 660px) {
  .card__desc {
    text-align: center;
  }

  .trending__games__title {
    font-size: 22px;
  }

  .all__circles__wrapper {
    margin-left: 0;
    margin-right: 0;
  }

  .benefits__title {
    padding-top: 30px;
  }

  .welcome__title {
    font-size: 40px;
  }

  .welcome__img {
    height: 400px;
    width: 400px;
  }

  .projects__desc {
    max-width: 520px;
  }

  .logo__column {
    max-width: 41%;
  }

  .girl__img {
    width: 380px;
    height: 380px;
  }

  .about__us__slider {
    width: 400px;
    height: 380px;
  }

  .news__game__card__text-wrapper {
    text-align: center;
  }

  .pre-title {
    justify-content: center;
  }
}

@media (max-width: 570px) {
  .news .container {
    flex-direction: column;
  }

  .search-wrapper {
    width: 270px;
  }

  .news__game__card__text-wrapper {
    margin-bottom: 80px;
  }

  .news__article__card {
    max-width: 320px;
  }

  .news__game_card__divider {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .say__hello .btn {
    align-self: center;
  }

  .get__in__touch__form {
    width: 350px;
  }
}

@media (max-width: 500px) {
  .welcome__img {
    margin-left: -25px;
  }

  .say__hello__desc {
    font-size: 12px;
  }

  .welcome .container {
    margin-bottom: 100px;
  }

  .member__name {
    font-size: 16px;
  }

  .trending__games__title {
    max-width: 200px;
  }

  .pictures {
    flex-direction: column;
  }

  .card__desc {
    font-size: 20px;
  }

  .lorem__title {
    margin-top: 70px;
    font-size: 28px;
  }

  .spiderman__text {
    text-align: center;
  }

  .spiderman__img {
    height: 308px;
    object-fit: cover;
  }

  .spiderman__title {
    margin-top: 60px;
  }

  .spiderman .container {
    margin-bottom: 40px;
  }

  .benefits {
    margin-top: 100px;
  }

  .benefits__title {
    font-size: 23px;
  }

  .subscribe__card {
    margin-bottom: 70px;
  }

  .say__hello {
    margin-bottom: 80px;
  }
}

.welcome__mobile__img {
  display: none;
}

@media (max-width: 470px) {
  .welcome__img {
    display: none;
  }

  .circle {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
  }

  .circle__desc {
    font-size: 14px;
  }

  .circle__wrapper::after {
    display: none;
  }

  .subscription input {
    width: 260px;
  }

  .title__and__button {
    flex-direction: column;
    text-align: center;
  }

  .trending__games__title {
    margin-bottom: 25px;
  }

  .welcome__title {
    font-size: 28px;
  }

  .subscribe__card__desc {
    max-width: 290px;
  }

  .subscribe__card {
    gap: 40px;
  }

  .logo__column {
    max-width: 80%;
  }

  .about__us__slider {
    width: 300px;
    height: 280px;
  }

  .slider__controls {
    left: 50%;
    transform: translateX(-50%);
  }

  .home__link {
    font-size: 16px;
  }

  .current__page__link {
    font-size: 16px;
  }

  .girl__img {
    width: 310px;
    height: 310px;
  }

  .girl {
    padding: 50px 0;
  }

  .games__info__img {
    width: 250px;
  }

  .games__info__text {
    max-width: 300px;
  }

  .testimonials__title {
    font-size: 26px;
    margin-top: 35px;
  }

  .reviews .container {
    margin-bottom: 80px;
  }

  .review-card {
    flex: 0 0 190px;
  }

  .review-card__stars {
    margin: 0;
  }

  .review__text__wrapper {
    flex-direction: column;
    align-items: center;
  }

  .review__card__name__and__place {
    margin: 0;
  }

  .review-card__avatar {
    margin-bottom: 10px;
  }

  .review-card__text {
    text-align: center;
  }

  .review__card__name__and__place {
    text-align: center;
  }

  .welcome__mobile__img {
    display: block;
  }

  .welcome img {
    max-width: 50%;
    margin-bottom: 0px;
    margin-top: -10px;
  }

  .welcome__text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 440px) {
  .pictures {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .card {
    max-width: 120px;
  }

  .projects img {
    max-width: 80%;
  }

  .projects__text {
    padding-top: 70px;
  }

  .trending__games .container {
    margin-bottom: 0;
  }

  .welcome h2 {
    margin-top: 50px;
  }

  .member_face {
    width: 80px;
    margin: 10px 60px 0 60px;
  }

  .member__job {
    margin-bottom: 10px;
  }

  .members__wrapper {
    flex-direction: row;
  }

  .our__team .container {
    margin-bottom: 70px;
  }

  .girl {
    margin-bottom: 60px;
  }

  .about__us__hero .container {
    margin-bottom: 65px;
  }

  .portfolio__hero__title {
    font-size: 28px;
  }

  .portfolio__hero {
    margin-top: 40px;
  }

  .say__hello .container::before {
    top: -52px;
  }

  .welcome__title {
    max-width: 347px;
  }
}

@media (max-width: 400px) {
  .input__name-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .subscription__title {
    text-align: center;
  }

  .member_face {
    width: 65px;
  }

  .name__wrapper {
    width: 100%;
  }

  .get__in__touch__form {
    width: 250px;
  }

  .say__hello .container {
    align-items: center;
  }

  .welcome .container {
    margin-left: 20px;
    margin-right: 20px;
  }

  .welcome__desc {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .welcome__title {
    font-size: 26px;
  }

  .welcome__title {
    max-width: 320px;
  }
}

@media (max-width: 370px) {
  .subscribe__card__desc {
    max-width: 250px;
  }

  .projects__title {
    text-align: center;
  }

  .subscribe__card__title {
    margin-bottom: 25px;
  }

  .all__circles__wrapper {
    gap: 40px 40px;
  }

  .girl {
    margin-bottom: 80px;
  }

  .girl__title {
    font-size: 18px;
    margin-bottom: 40px;
  }

  .girl__img {
    width: 260px;
    height: 260px;
  }

  .why__work__with__us .container {
    margin-bottom: 80px;
  }

  .video__title {
    font-size: 22px;
  }

  .video .container {
    margin-bottom: 70px;
  }

  .portfolio__hero .container {
    margin-bottom: 80px;
  }

  .news .container {
    margin-bottom: 70px;
  }
}
