/* header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 0;
  z-index: 9;
  background: #2723f4;
}

.navigation {
  display: none;
}

.open-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.close-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.svg {
  stroke: white;
}

.navigation-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.navigation-item {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 187%;
  color: #fff;
  transition: color 0.3s ease;
}

.navigation-item:hover {
  color: #d1ff01;
}

.modal {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 8;
  padding: 60px;
  padding-right: 20px;
  padding-top: 130px;
  background: linear-gradient(180deg, #190c80 0%, #2825fc 100%);
  transform: translateY(-150%) translateX(-50%);
  transition: transform 1.5s ease;
  z-index: 8;
}

.modal-navigation-list {
  flex-direction: column;
  align-items: flex-start;
}

.modal-click {
  transform: translateY(0) translateX(-50%);
}

@media screen and (min-width: 1437px) {
  .header {
    padding: 30px 0;
  }

  .navigation {
    display: block;
  }

  .navigation-list {
    gap: 13px;
  }

  .navigation-item {
    font-size: 16px;
  }

  .open-modal {
    display: none;
  }
}

/* home */

#home {
  padding-top: 70px;
  padding-bottom: 272px;
  background-image: url(../images/home.jpg);
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.home-logo {
  width: 335px;
  margin: 0 auto;
}

.home-title {
  font-family: var(--font-family);
  font-weight: 900;
  font-size: 32px;
  text-align: center;
  color: #fff;
  margin-bottom: 12px;
}

.home-text {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 20px;
  line-height: 130%;
  text-align: center;
  color: #fff;
  margin-bottom: 32px;
}

.home-link {
  display: block;
  width: 180px;
  max-width: 100%;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.home-link:hover {
  transform: scale(1.05);
}

.home-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: max-content;
  width: 325px;
}

.home-wrapper {
  position: relative;
  z-index: 1;
}

@media screen and (min-width: 1437px) {
  #home {
    padding-top: 172px;
    padding-bottom: 158px;
  }

  .home-logo {
    width: auto;
  }

  .home-wrapper {
    max-width: 660px;
    position: relative;
  }

  .home-img {
    bottom: 0;
    left: 50%;
    transform: translateX(0);
    width: auto;
  }
}

/* who */

.who-item {
  border-radius: 22px;
  padding: 12px;
  width: 335px;
  max-width: 100%;
  min-height: 270px;
  backdrop-filter: blur(22px);
  background: linear-gradient(180deg, rgba(253, 255, 10, 0) 0%, #a2ed00 100%);

  img {
    margin: 0 auto;
    margin-bottom: 18px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 800;
    font-size: 20px;
    line-height: 150%;
    text-align: center;
    color: #050033;
    margin-bottom: 8px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 167%;
    text-align: center;
    color: #050033;
    display: block;
  }
}

.section-sub-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  font-family: var(--font-family);
  font-weight: 900;
  font-size: 16px;
  text-transform: uppercase;
  text-align: center;
  background: linear-gradient(90deg, #c1ff00 0%, #fbff00 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 38px;
}

@media screen and (min-width: 1437px) {
  .who-item {
    border-radius: 22px;
    padding: 12px;
    width: 400px;
    min-height: 270px;
  }

  .section-sub-title {
    margin-top: 50px;
  }
}

/* match */

#match {
  background-image: url(../images/freepik__enhance.png);
  background-position: center;
  background-size: cover;
}

.match-list {
  display: flex;
  flex-direction: column;
  gap: 12px;

  li {
    border-radius: 22px;
    padding: 60px 12px 22px 12px;
    backdrop-filter: blur(22px);
    background: linear-gradient(180deg, rgba(253, 255, 10, 0) 0%, #ffe600 100%);
  }

  img {
    margin: 0 auto;
    margin-bottom: 18px;
  }

  h4 {
    font-family: var(--font-family);
    font-weight: 800;
    font-size: 20px;
    line-height: 150%;
    text-align: center;
    color: #050033;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 16px;
    line-height: 187%;
    text-align: center;
    color: #050033;
    margin-bottom: 8px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 187%;
    text-align: center;
    color: #050033;
  }
}

@media screen and (min-width: 1437px) {
  .match-list {
    flex-direction: row;
    gap: 32px;

    li {
      width: 520px;
      padding: 60px 12px;
      display: flex;
      align-items: center;
      gap: 18px;
    }
  }
}

/* game */

#game {
  padding-bottom: 0;
  background-image: url(../images/fish.png);
  background-position: right;
  background-repeat: no-repeat;
}

.game-list {
  display: flex;
  flex-direction: column;
  gap: 22px;

  li {
    border: 2px solid #c1ff01;
    border-radius: 22px;
    padding: 18px 12px;
    box-shadow: 0 0 12px #fbff01;
  }

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    color: #fff;
    margin-bottom: 12px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    color: #fff;
  }
}

.game-link {
  display: block;
  width: 337px;
  margin: 0 auto;
  margin-top: 50px;
  transition: transform 0.3s ease;
}

.game-link:hover {
  transform: scale(1.03);
}

.phone {
  margin: 0 auto;
  width: 353px;
  margin-top: 43px;
}

@media screen and (min-width: 1437px) {
  .game-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
  }

  .phone {
    margin: 0;
    width: auto;
    flex-shrink: 0;
  }

  .game-list {
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 22px) / 2);
    }
  }
}

/* zone */

.zone-list {
  display: flex;
  flex-direction: column;
  gap: 37px;

  li {
    border: 2px solid #c1ff01;
    border-radius: 22px;
    padding: 18px 12px;
    box-shadow: 0 0 12px #fbff01;
    background: #ffe600;
  }

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    color: #050033;
    margin-bottom: 12px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    color: #050033;
  }
}

@media screen and (min-width: 1437px) {
  .zone-list {
    flex-direction: row;

    li {
      width: calc((100% - 74px) / 3);
    }
  }
}

/* powerups */

#powerups {
  background-image: url(../images/unnamed.png);
  background-position: center;
  background-size: cover;
}

.powerups-list {
  display: flex;
  flex-direction: column;
  gap: 19px;

  li {
    border-radius: 22px;
    padding: 12px;
    backdrop-filter: blur(22px);
    background: linear-gradient(180deg, rgba(253, 255, 10, 0) 0%, #a2ed00 100%);
  }

  img {
    margin: 0 auto;
    margin-bottom: 18px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    color: #050033;
    margin-bottom: 8px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    color: #050033;
  }
}

@media screen and (min-width: 1437px) {
  .powerups-list {
    flex-direction: row;
    justify-content: center;
    li {
      width: calc((100% - 57px) / 4);
    }
  }
}

/* faq */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.faq-item {
  width: 100%;
  border: 2px solid #c1ff01;
  border-radius: 22px;
  padding: 18px 12px;
}

.faq-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background-color: #c1ff01;
  flex-shrink: 0;
  transform: rotate(180deg);
  transition: transform 0.3s ease;

  svg {
    fill: none;
    stroke: #000;
  }
}

.faq-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
}

.faq-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #fff;
  padding-top: 12px;
}

@media screen and (min-width: 1437px) {
  .faq-list {
    width: 100%;
  }
  .faq-item {
    padding: 16px 40px;
  }
}

.hidden {
  display: none;
}

.click {
  transform: rotate(0);
}

/* insights */

#insights {
  background-image: url(../images/unnamed.png);
  background-position: center;
  background-size: cover;
}

.insights-text-wrap {
  border-radius: 22px;
  padding: 22px;
  backdrop-filter: blur(32px);
  background: linear-gradient(180deg, rgba(253, 255, 10, 0) 0%, #a2ed00 100%);

  img {
    margin-bottom: 18px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #050033;
    margin-bottom: 18px;
  }

  h4 {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    color: #050033;
  }

  span {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 14px;
    color: #050033;
  }
}

.inside-img {
  margin: 0 auto;
  margin-top: 22px;
}

@media screen and (min-width: 1437px) {
  .insights-wrap {
    display: flex;
    justify-content: center;
    gap: 22px;
  }

  .inside-img {
    margin: 0;
    flex-shrink: 0;
  }
}

/* rival */

.rival-list {
  display: flex;
  flex-direction: column;
  gap: 22px;

  li {
    border: 2px solid #c1ff01;
    border-radius: 22px;
    padding: 18px 12px;
    box-shadow: 0 0 12px #fbff01;
  }

  img {
    width: 100px;
    margin: 0 auto;
    margin-bottom: 12px;
  }

  h4 {
    font-family: var(--font-family);
    font-weight: 900;
    font-size: 24px;
    text-align: center;
    color: #fff;
    margin-bottom: 12px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    color: #fff;
    margin-bottom: 8px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    color: #fff;
  }
}

.rival-link {
  width: 300px;
}

@media screen and (min-width: 1437px) {
  .rival-list {
    align-items: flex-start;

    li {
      width: 783px;
      display: flex;
      align-items: center;
      gap: 22px;
    }

    .item3 {
      align-self: flex-end;
      flex-direction: row-reverse;
    }
  }
}

/* banner */

.banner-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  width: 100%;
  height: 300px;
  margin-bottom: 40px;
}
.banner {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: max-content;
  /* width: 666px; */
  height: 100%;
}

@media screen and (min-width: 1437px) {
  #banner {
    .main-title {
      text-align: start;
      max-width: 890px;
    }
  }
  .banner-wrap {
    height: 400px;
  }

  .banner {
    width: auto;
  }
}

/* footer */

.footer {
  padding: 66px 0;
  background: #0c006c;
}

.footer-description {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  text-transform: lowercase;
  color: #fff;
  text-align: center;
  margin-bottom: 12px;
}

.footer-list {
  display: flex;
  align-items: center;
  flex-direction: column;
}

.footer-link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #d1ff01;
}

@media screen and (min-width: 1437px) {
  .footer {
    padding: 38px 0;
  }
  .footer-list {
    flex-direction: row;
    justify-content: center;
    gap: 14px;
  }
}

/* cookie popup */

.popup {
  position: fixed;
  z-index: 10;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid #fff;
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 14px 42px rgba(8, 15, 52, 0.06);
  background: linear-gradient(180deg, #190c80 0%, #2825fb 100%);

  transition: transform 0.5s ease;
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #fff;
  margin-bottom: 37px;
}

.popup-btn {
  border: 1px solid #fff;
  border-radius: 56px;
  padding: 18px 26px;
  box-shadow: 0 4px 8px rgba(74, 58, 255, 0.08);
  background: linear-gradient(180deg, #190c80 0%, #2825fb 100%);

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 112%;
  color: #fff;
  transition: color 0.3s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  box-shadow: 0 3px 12px rgba(74, 58, 255, 0.18);
  background: #fff;
  color: #190c80;
}

.popup-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.popup-click {
  transform: translateY(120%) translateX(-50%);
}

@media screen and (min-width: 1437px) {
  .popup {
    padding: 52px 137px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 67px;
  }
  .popup-text {
    font-size: 18px;
    margin: 0;
    text-align: start;
  }
}
