:root {
  --color--main: ;
  --color--accent: ;
  --color--text: #0b4a52;
  --color--text--accent: #fff;
  --color--title: #0080bf;
  --color--outline: ;
  --gap-column: 40px;
  --gap-row: 30px;
}

@font-face {
  font-family: "Akrobat";
  src:
    url("../fonts/Akrobat-Light.woff2") format("woff2"),
    url("../fonts/Akrobat-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Akrobat";
  src:
    url("../fonts/Akrobat-Regular.woff2") format("woff2"),
    url("../fonts/Akrobat-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Akrobat";
  src:
    url("../fonts/Akrobat-Bold.woff2") format("woff2"),
    url("../fonts/Akrobat-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Akrobat";
  src:
    url("../fonts/Akrobat-ExtraBold.woff2") format("woff2"),
    url("../fonts/Akrobat-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Akrobat";
  src:
    url("../fonts/Akrobat-Black.woff2") format("woff2"),
    url("../fonts/Akrobat-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Firenight";
  src:
    url("../fonts/Firenight_Regular.woff2") format("woff2"),
    url("../fonts/Firenight_Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  outline: none;
}

img {
  max-width: 100%;
}

.page {
  font-family: "Akrobat", "PTSansPro", Arial, sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  background-color: #fff;
  color: var(--color--text);
}

.container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 60px;
}

p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  padding: 0;
}

.btn-reset {
  padding: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.list-reset {
  margin: 0;
  padding: 0;
  list-style: none;
}

.header__wrap {
  position: relative;
  aspect-ratio: 16/9;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-image: url(../img/header_art.png);
  display: grid;
  overflow: hidden;
}

.header__wrap {
  background-image: url(../img/header_art.png);
}

@supports (background-image: url(../img/header_art.webp)) {
  .header__wrap {
    background-image: url(../img/header_art.webp);
  }
}

.header__content {
  position: relative;
  height: 100%;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  justify-content: center;
  padding: 20px;
}

.brands {
  -ms-grid-column: 5;
  -ms-grid-column-span: 4;
  grid-column: 5 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15%;
}

.brands__link {
  display: flex;
  justify-content: center;
  transition:
    transform 0.3s ease-in-out,
    drop-shadow 0.3s ease-in-out;
}

@media (any-hover: hover) {
  .brands__link:focus-visible {
    filter: drop-shadow(0 0 20px rgb(245, 242, 244));
  }

  .brands__link:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 30px rgb(245, 242, 244));
  }

  .brands__link:active {
    filter: drop-shadow(0 0 30px rgb(245, 242, 244));
  }
}

.brands__img {
  -o-object-position: center;
  object-position: center;
}

.brands__img-avi {
  width: 24vw;
  max-width: 500px;
}

.brands__img-game {
  width: 30vw;
  max-width: 550px;
}

.game-link {
  display: block;
  text-align: center;
  z-index: 10;
  margin-top: 15%;
}

.game-link img {
  width: 90%;
}

.game-link {
  display: block;
  text-align: center;
  z-index: 10;
  margin-top: 15%;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.game-link:hover {
  transform: scale(1.08) translateY(-5px);
  filter: drop-shadow(0 5px 20px rgba(255, 198, 0, 0.4))
    drop-shadow(0 0 25px rgba(255, 255, 255, 0.3));
}

.game-link:hover img {
  animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.03);
  }
}

.game-link:active {
  transform: scale(1.04) translateY(-2px);
  filter: drop-shadow(0 3px 12px rgba(255, 198, 0, 0.3));
}

.game-link:focus-visible {
  outline: 3px solid #ffc600;
  outline-offset: 8px;
  transform: scale(1.06);
  border-radius: 12px;
  box-shadow: 0 0 0 4px rgba(255, 198, 0, 0.2);
}

.scroll-down-btn {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.scroll-down-btn:hover {
  transform: translateX(-50%) translateY(5px);
}

.scroll-down-btn:focus-visible {
  outline: 2px solid var(--color--main);
  outline-offset: 3px;
}

.scroll-down-icon {
  width: 90px;
  height: 75px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.header__license {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-family: "PTSansPro", Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  opacity: 0.9;
  z-index: 10;
  white-space: nowrap;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.main {
  background-position-x: center;
}

.title {
  font-family: "Firenight", sans-serif;
  font-size: 45px;
  font-weight: 400;
  line-height: 49px;
  letter-spacing: 0.0025em;
  text-align: center;
  color: var(--color--title);
  text-transform: uppercase;
}

.subtitle {
  font-family: "Firenight", sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 49px;
  letter-spacing: 0.0025em;
  text-align: center;
  color: var(--color--title);
  text-transform: uppercase;
}

.descr {
  font-weight: 500;
  line-height: 40px;
  text-align: center;
  color: var(--color--text);
  -webkit-font-smoothing: antialiased;
}

.content {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  padding: 0 20px;
  align-items: center;
  padding: var(--gap);
  row-gap: 30px;
  -moz-column-gap: 40px;
  column-gap: 40px;
}

.center {
  -ms-grid-column: 4;
  -ms-grid-column-span: 6;
  grid-column: 4 / 10;
}

.left {
  -ms-grid-column: 1;
  -ms-grid-column-span: 3;
  grid-column: 1 / 4;
}

.right {
  -ms-grid-column: 10;
  -ms-grid-column-span: 3;
  grid-column: 10 / 13;
}

.intro {
  grid-column: 1 / 13;
  padding: 32px 40px 40px 40px;
  border-radius: 32px;
  row-gap: 30px;
  -moz-column-gap: 40px;
  column-gap: 40px;
}

.intro-blue {
  background-color: #00c4e7;
}

.intro-blue .descr {
  color: var(--color--text--accent);
}

.media {
  grid-column: 1 / 7;
}

.info {
  grid-column: 7 / 13;
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  -moz-column-gap: 40px;
  column-gap: 40px;
  padding: 20px;
}

.section {
  padding: 45px 0 45px 0;
}

.about {
  padding: 90px 0 45px 0;
}

.about__subtitle {
  margin-bottom: 30px;
}

.about__media {
  grid-column: 1 / 7;
  overflow: hidden;
  border-radius: 32px;
  display: flex;
}

.lazy-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 32px;
  -o-object-fit: cover;
  object-fit: cover;
}

.safety__list {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-content: center;
  row-gap: 30px;
  -moz-column-gap: 40px;
  column-gap: 40px;
  align-items: stretch;
}

.safety__title {
  margin-bottom: 30px;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 30px;
  border-radius: 16px;
}

.card__circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.card__title {
  font-family: "Akrobat", sans-serif;
  font-weight: 800;
  color: var(--color--text);
  line-height: 1.2;
}

.card__descr {
  font-family: "Akrobat", sans-serif;
  font-weight: 400;
  color: var(--color--text);
  line-height: 1.3;
  line-height: 40px;
}

.learning__title {
  font-weight: 800;

  line-height: 1.2;
}

.learning__subtitle {
  font-family: "Akrobat", sans-serif;
  font-weight: 800;
  color: var(--color--text);
  line-height: 1.2;
}

.card,
.card__circle,
.info__item,
.info__item .card__descr {
  transition: all 0.3s ease;
}

.safety__item:hover .card,
.learning__item:hover .card,
.themes__item:hover .card {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 128, 191, 0.12);
}

.safety__item:hover .card__circle,
.learning__item:hover .card__circle,
.themes__item:hover .card__circle {
  transform: scale(1.08);
  background-color: #e6f3ff;
}

.safety__item,
.learning__item,
.themes__item,
.info__item {
  cursor: pointer;
}

.themes__title {
  margin-bottom: 30px;
}

.themes__list {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-content: center;
  row-gap: 30px;
  -moz-column-gap: 40px;
  column-gap: 40px;
  align-items: stretch;
}

.gallery {
  position: relative;
}

.gallery__container {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.gallery__container .title {
  margin-bottom: 30px;
  position: relative;
  z-index: 3;
}

.swiper::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    90deg,
    rgba(#78d4ec) 0%,
    rgba(25, 96, 226, 0) 10%,
    rgba(25, 96, 226, 0) 90%,
    rgba(#78d4ec) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.swiper {
  width: 100%;
  padding-top: 60px;
  padding-bottom: 80px;
  position: relative;
  z-index: 1;
  background-color: #78d4ec;
}
.swiper-wrapper {
  position: relative;
  z-index: 1;
}
.swiper-slide {
  background-position: center;
  background-size: cover;
  width: 750px;
  height: 420px;
  transition: transform 0.3s ease;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 16px;
}

.swiper-slide {
  box-shadow: 0px 10px 20px 0px rgba(34, 86, 184, 1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.swiper-slide-prev {
  box-shadow: -8px 12px 20px -2px rgba(34, 86, 184, 1);
  transform: perspective(800px) rotateY(5deg) translateZ(0);
  border-radius: 16px;
  overflow: hidden;
}

.swiper-slide-next {
  box-shadow: 8px 12px 20px -2px rgba(34, 86, 184, 1);
  transform: perspective(800px) rotateY(-5deg) translateZ(0);
  border-radius: 16px;
  overflow: hidden;
}

.swiper-slide-active {
  transform: scale(1.05) perspective(800px) translateZ(10px);
  z-index: 10;
  box-shadow: 0px 10px 20px 0px rgba(34, 86, 184, 1);
  border-radius: 16px;
  overflow: hidden;
}
.swiper-pagination-bullets.swiper-pagination-horizontal {
  --swiper-pagination-bottom: 20px;
  margin-bottom: 20px;
}

.swiper-button-next,
.swiper-button-prev {
  color: #ffffff;
  background: var(--color--title);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 3px solid #ffffff;
  box-shadow: 0 6px 15px rgba(34, 86, 184, 0.4);
  z-index: 10;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #ffd800;
  color: var(--color--title);
  border-color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(255, 216, 0, 0.5);
}

.swiper-button-next:focus-visible,
.swiper-button-prev:focus-visible {
  outline: 3px solid #ffd800;
  outline-offset: 3px;
  background: #ffd800;
  color: var(--color--title);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 26px;
  font-weight: 900;
}

.swiper-pagination-bullet {
  background: var(--color--title);
  opacity: 0.4;
  width: 14px;
  height: 14px;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #ffd800;
  opacity: 1;
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(255, 216, 0, 0.6);
}

.swiper-pagination-bullet:focus-visible {
  outline: 2px solid #ffd800;
  outline-offset: 2px;
  transform: scale(1.3);
}

.friends {
  background-color: #ffd800;
}

.friends__title {
  margin-bottom: 30px;
}

.friends__intro {
  background-color: #0080bf;
}

.friends_img {
  grid-column: 1 / 13;
  display: flex;
  align-items: center;
  justify-content: center;
}

.learning__list {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-content: center;
  row-gap: 30px;
  -moz-column-gap: 40px;
  column-gap: 40px;
  align-items: stretch;
}

.learning__title {
  margin-bottom: 30px;
}

.learning__intro-bottom {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  gap: var(--gap-column);
  padding: 0;
}

.skills-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.skills-wrapper .learning__descr {
  text-align: center;
}

.skills__list {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: flex-start;
  /* border: 2px solid #92d3f1; */
  border-radius: 32px;
  padding: 30px;
  background-color: #fff;
}

.skills__list {
  grid-column: 1 / 13;
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: flex-start;
  justify-content: center;
  border-radius: 32px;
  padding: 30px;
}

.skills__item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.skills__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: #e6f3ff;
  border-radius: 50%;
  flex-shrink: 0;
}

.skills__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--color--title);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skills__item .card__descr {
  margin: 0;
  line-height: 1.3;
}

.reviews {
  background-color: #78d4ec;
}

.reviews__title {
  margin-bottom: 30px;
}

.reviews__list {
  grid-column: 1 / 13;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  justify-content: center;
  row-gap: 30px;
  -moz-column-gap: 60px;
  column-gap: 60px;
  align-items: stretch;
  /* padding: 30px 0; */
}

.review__card {
  position: relative;
  border: none;
  background-color: #ffffff;
  border-radius: 16px;
  padding: 30px 60px;
  display: flex;
  align-items: center;
  height: 100%;
}

.review__card .card__descr {
  text-align: left;
  font-weight: 400;
  line-height: 1.4;
  position: relative;
  z-index: 2;
}

.review__card::before {
  content: "";
  position: absolute;
  top: -25px;
  left: -25px;
  width: 70px;
  height: 70px;
  background-image: url(../img/quotes-2.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  z-index: 3;
}

.review__card::after {
  content: "";
  position: absolute;
  bottom: -25px;
  right: -25px;
  width: 70px;
  height: 70px;
  background-image: url(../img/quotes-1.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  z-index: 3;
}

.app__title {
  margin-bottom: 20px;
}

.app__subtitle {
  margin-bottom: 30px;
}

.app__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.app__link {
  display: block;
  transition: all 0.3s ease-in-out;
  opacity: 0.9;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.app__link:hover {
  transform: scale(1.1);
  opacity: 1;
  filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.7));
}

.app__link:active {
  transform: scale(1.05);
}

.app__link:focus-visible {
  outline: 2px solid var(--color--main);
  outline-offset: 3px;
  border-radius: 20px;
  transform: scale(1.1);
  opacity: 1;
}

.app__link.disabled {
  position: relative;
  pointer-events: none;
  opacity: 0.6;
  cursor: not-allowed;
}

.app__link.disabled::after {
  content: "Скоро";
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
}

.app__link.disabled:hover {
  transform: none !important;
}

.app__img {
  display: block;
  height: 65px !important;
  width: auto !important;
  -o-object-fit: contain;
  object-fit: contain;
}

.app__link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto !important;
  max-width: none !important;
}

.footer {
  background-color: #0080bf;
  font-weight: 400;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: 0.0025em;
  color: var(--color--text--accent);
}

.footer__container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  padding: 0 20px;
  align-items: center;
  padding: 30px 60px;
}

.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact__link:hover {
  color: #ffc600;
  text-decoration: underline;
}

.contact__link:focus-visible {
  outline: 2px solid var(--color--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.contact__icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  flex-shrink: 0;
}

.reg {
  display: flex;
  gap: 7px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: auto;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.modal-content {
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 90%;
  max-height: 80vh;
  animation: zoom 0.3s;
  -o-object-fit: contain;
  object-fit: contain;
}

@keyframes zoom {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  font-family: "Akrobat", sans-serif;
  transition: 0.3s;
  cursor: pointer;
  z-index: 2;
}

.close:hover,
.close:focus {
  ccolor: #ffd800;
  text-decoration: none;
  transform: scale(1.1);
}

.close:focus-visible {
  outline: 2px solid #ffd800;
  outline-offset: 3px;
  border-radius: 2px;
}

.caption {
  margin: 15px auto;
  display: block;
  width: 80%;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  font-size: 22px;
  font-family: "Akrobat", sans-serif;
  letter-spacing: 0.02em;
}

.modal-nav {
  position: fixed;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 20px;
  box-sizing: border-box;
  pointer-events: none;
  z-index: 1;
}

.modal-prev,
.modal-next {
  pointer-events: all;
  background: var(--color--title);
  color: #ffffff;
  border: 3px solid #ffffff;
  font-size: 30px;
  font-weight: 900;
  font-family: "Akrobat", sans-serif;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.modal-prev:hover,
.modal-next:hover {
  background: #ffd800;
  color: var(--color--title);
  border-color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 216, 0, 0.5);
}

.modal-prev {
  margin-left: 20px;
}

.modal-next {
  margin-right: 20px;
}

.modal-prev:focus-visible,
.modal-next:focus-visible {
  outline: 3px solid #ffd800;
  outline-offset: 3px;
  background: #ffd800;
  color: var(--color--title);
}

.modal-img-enter {
  opacity: 0;
  transform: scale(0.9);
}

.modal-img-enter-active {
  opacity: 1;
  transform: scale(1);
  transition: all 0.3s ease-out;
}
