@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;800&display=swap');

:root {
  --side-pad: max(60px, calc((100% - 1080px) / 2));
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: #1c1c1c;
  background: #ccf0ff;
  min-width: 320px;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.page-wrapper {
  width: 100%;
  overflow: hidden;
}

.header {
  background: #ccf0ff;
  padding: 10px var(--side-pad);
}

.header__inner {
  background: #1c1c1c;
  border-radius: 60px;
  padding: 15px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.header__logo-text {
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  text-transform: uppercase;
  line-height: normal;
}

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

.header__nav-link {
  font-weight: 400;
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
  line-height: normal;
  transition: opacity 0.3s;
}

.header__nav-link:hover {
  opacity: 0.7;
}

.header__burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 12px;
}

.header__burger img {
  width: 100%;
  height: 100%;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 60px;
  background: linear-gradient(to right, #009dff, #5c40ff);
  border-radius: 60px;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  text-transform: uppercase;
  line-height: normal;
  white-space: nowrap;
  transition: opacity 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  opacity: 0.85;
}

.hero {
  background: #cbefff;
  padding: 60px max(0px, calc((100% - 1200px) / 2)) 60px max(60px, calc((100% - 1200px) / 2 + 60px));
  display: flex;
  align-items: center;
  gap: 30px;
}

.hero__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.hero__title {
  font-weight: 800;
  font-size: 80px;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero__text p {
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
}

.hero__text p + p {
  margin-top: 16px;
}

.hero__image {
  width: 596px;
  height: 571px;
  flex-shrink: 0;
  border-radius: 30px 0 0 30px;
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about {
  background: #cbefff;
  padding: 60px max(60px, calc((100% - 1200px) / 2 + 60px)) 60px max(0px, calc((100% - 1200px) / 2));
  display: flex;
  align-items: center;
  gap: 30px;
}

.about__image {
  width: 562px;
  height: 571px;
  flex-shrink: 0;
  border-radius: 0 30px 30px 0;
  overflow: hidden;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about__title {
  font-weight: 800;
  font-size: 60px;
  line-height: 1.1;
  text-transform: uppercase;
}

.about__text p {
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
}

.about__text p + p {
  margin-top: 16px;
}

.why-us {
  background: #ccf0ff;
  padding: 60px var(--side-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

.why-us__title {
  font-weight: 800;
  font-size: 60px;
  line-height: normal;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
}

.why-us__grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.why-us__row {
  display: flex;
  gap: 40px;
}

.why-us__card {
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 27px;
}

.why-us__card--blue {
  background: #00aaff;
}

.why-us__card--dark-blue {
  background: #1877c4;
}

.why-us__card-image {
  width: 356px;
  height: 236px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.why-us__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-us__card-body {
  width: 356px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
  color: #fff;
  letter-spacing: 0.2px;
  text-transform: capitalize;
}

.why-us__card-title {
  font-weight: 600;
  font-size: 24px;
  line-height: normal;
}

.why-us__card-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
}

.new-games {
  background: #0f1722;
  padding: 60px var(--side-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 120px;
  overflow: hidden;
  position: relative;
}

.new-games__bg {
  position: absolute;
  top: -688px;
  left: -385px;
  width: 2079px;
  height: 2009px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.new-games__bg-inner {
  transform: rotate(-13.67deg);
}

.new-games__bg-inner img {
  width: 1740px;
  height: 1645px;
  max-width: none;
}

.new-games__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
}

.new-games__title {
  font-weight: 600;
  font-size: 60px;
  line-height: 0.9;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.new-games__text {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  text-align: center;
  color: #fff;
}

.faq {
  background: #ccf0ff;
  padding: 60px var(--side-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

.faq__title {
  font-weight: 800;
  font-size: 60px;
  line-height: normal;
  text-transform: uppercase;
  text-align: center;
  width: 100%;
}

.faq__list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq__item {
  width: 100%;
}

.faq__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq__question {
  font-weight: 500;
  font-size: 24px;
  line-height: normal;
  color: #1c1c1c;
  flex: 1;
  min-width: 0;
  transition: color 0.3s;
}

.faq__head:hover .faq__question {
  color: #009dff;
}

.faq__toggle {
  position: relative;
  width: 59px;
  height: 59px;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq__head:hover .faq__toggle {
  transform: scale(1.1);
}

.faq__icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s;
}

.faq__icon--minus {
  opacity: 0;
}

.faq__item--open .faq__icon--plus {
  opacity: 0;
}

.faq__item--open .faq__icon--minus {
  opacity: 1;
}

.faq__answer-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq__item--open .faq__answer-wrap {
  max-height: 320px;
}

.faq__answer {
  padding-top: 14px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
}

.faq__divider {
  width: 100%;
  height: 2px;
  background: #00aaff;
}

.partner {
  background: #ccf0ff;
  padding: 60px var(--side-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

.partner__header {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
  width: 100%;
}

.partner__title {
  font-weight: 800;
  font-size: 60px;
  line-height: normal;
  text-transform: uppercase;
}

.partner__text {
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
}

.partner__contacts {
  display: flex;
  gap: 10px;
  width: 100%;
}

.partner__contact-item {
  flex: 1;
  min-width: 0;
  background: #00aaff;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  font-weight: 800;
  font-size: 14px;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  line-height: normal;
}

.partner__image {
  width: 830px;
  height: 350px;
  border-radius: 30px;
  overflow: hidden;
}

.partner__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer {
  background: #ccf0ff;
  padding: 10px var(--side-pad);
}

.footer__inner {
  background: #1c1c1c;
  border-radius: 30px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer__logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.footer__logo-text {
  font-weight: 800;
  font-size: 24px;
  color: #fff;
  text-transform: uppercase;
  line-height: normal;
}

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

.footer__nav-link {
  font-weight: 400;
  font-size: 16px;
  color: #fff;
  white-space: nowrap;
  line-height: normal;
  transition: opacity 0.3s;
}

.footer__nav-link:hover {
  opacity: 0.7;
}

.footer__socials {
  display: flex;
  gap: 11px;
}

.footer__social-link {
  display: block;
  transition: opacity 0.3s;
}

.footer__social-link:hover {
  opacity: 0.7;
}

.footer__social-link img {
  width: 54px;
  height: 53px;
}

.footer__copyright {
  font-weight: 400;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: normal;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
}

.mobile-menu__link {
  font-weight: 400;
  font-size: 20px;
  color: #fff;
  transition: opacity 0.3s;
}

.mobile-menu__link:hover {
  opacity: 0.7;
}

.game-page {
  background: #ccf0ff;
  padding: 60px var(--side-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

.game-page__header {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
  width: 100%;
}

.game-page__title {
  font-weight: 800;
  font-size: 60px;
  line-height: normal;
  text-transform: uppercase;
}

.game-page__text p {
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
}

.game-page__text p + p {
  margin-top: 16px;
}

.game-page__images {
  display: flex;
  gap: 30px;
  width: 100%;
}

.game-page__img {
  border-radius: 30px;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  height: 200px;
}

.game-page__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-page__img--square {
  flex: none;
  width: 200px;
  height: 200px;
}

.catalog {
  background: #ccf0ff;
  padding: 60px var(--side-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  overflow: hidden;
}

.catalog__header {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: center;
  width: 100%;
}

.catalog__title {
  font-weight: 800;
  font-size: 60px;
  line-height: normal;
  text-transform: uppercase;
}

.catalog__text p {
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
}

.catalog__text p + p {
  margin-top: 16px;
}

.catalog__gallery {
  display: flex;
  gap: 10px;
  align-items: center;
}

.catalog__gallery-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 342px;
  flex-shrink: 0;
}

.catalog__gallery-left-top {
  display: flex;
  gap: 12px;
}

.catalog__gallery-link {
  display: block;
  border-radius: 30px;
  overflow: hidden;
  transition: opacity 0.3s;
}

.catalog__gallery-link:hover {
  opacity: 0.85;
}

.catalog__gallery-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.catalog__gallery-link--sm {
  width: 165px;
  height: 165px;
  flex-shrink: 0;
}

.catalog__gallery-link--lg {
  width: 342px;
  height: 342px;
}

.catalog__gallery-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 166px;
  flex-shrink: 0;
  align-self: stretch;
}

.catalog__gallery-link--third {
  flex: 1;
  min-height: 0;
}

.catalog__gallery-link--wide {
  height: 342px;
  display: none;
}

.catalog__gallery-link--pair {
  flex: 1;
  min-width: 0;
  height: 189px;
  display: none;
}

.catalog__gallery-bottom {
  display: none;
}

.catalog__features {
  display: flex;
  gap: 30px;
  width: 100%;
}

.catalog__feature {
  flex: 1;
  min-width: 0;
  background: #fff;
  border-radius: 30px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 0 11.35px rgba(0, 0, 0, 0.25);
}

.catalog__feature-title {
  font-weight: 600;
  font-size: 24px;
  line-height: 0.9;
  color: #000;
}

.catalog__feature-text {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.2;
  color: #000;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%) translateY(24px);
  width: calc(100% - 40px);
  max-width: 970px;
  background: #fff;
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}

.cookie-banner--visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.cookie-banner__title {
  font-weight: 800;
  font-size: 48px;
  line-height: 1;
  text-transform: uppercase;
}

.cookie-banner__text {
  max-width: 770px;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
}

.cookie-banner__buttons {
  display: flex;
  gap: 20px;
}

.cookie-banner__btn--decline {
  background: linear-gradient(to right, #2f80ff, #5c40ff);
}

.btn-primary {
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(92, 64, 255, 0.35);
}

.why-us__card {
  transition: transform 0.3s, box-shadow 0.3s;
}

.why-us__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.why-us__card-image img,
.game-page__img img {
  transition: transform 0.5s ease;
}

.why-us__card:hover .why-us__card-image img,
.game-page__img:hover img {
  transform: scale(1.07);
}

.catalog__gallery-link img {
  transition: transform 0.5s ease;
}

.catalog__gallery-link:hover img {
  transform: scale(1.08);
}

.catalog__feature {
  transition: transform 0.3s, box-shadow 0.3s;
}

.catalog__feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

.partner__contact-item {
  transition: transform 0.3s, background 0.3s;
}

.partner__contact-item:hover {
  transform: translateY(-4px);
  background: #009dff;
}

.header__logo,
.footer__logo {
  transition: opacity 0.3s;
}

.header__logo:hover,
.footer__logo:hover {
  opacity: 0.8;
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 1024px) {
  .header {
    padding: 10px 20px;
  }

  .header__inner {
    padding: 10px 20px;
  }

  .header__logo-text {
    font-size: 20px;
  }

  .header__nav {
    display: none;
  }

  .header__burger {
    display: block;
  }

  .hero {
    flex-direction: column;
    padding: 40px 20px;
    gap: 20px;
  }

  .hero__content {
    order: 2;
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__image {
    order: 1;
    width: 100%;
    height: 200px;
    border-radius: 30px;
  }

  .about {
    flex-direction: column;
    padding: 40px 20px;
    gap: 20px;
  }

  .about__image {
    width: 100%;
    height: 200px;
    border-radius: 30px;
  }

  .about__title {
    font-size: 32px;
  }

  .why-us {
    padding: 40px 20px;
    gap: 20px;
  }

  .why-us__title {
    font-size: 32px;
  }

  .why-us__grid {
    gap: 20px;
    width: 100%;
  }

  .why-us__row {
    flex-direction: column;
    gap: 20px;
  }

  .why-us__card {
    padding: 10px;
    gap: 20px;
    width: 100%;
  }

  .why-us__card-image {
    width: 100%;
    height: 236px;
  }

  .why-us__card-body {
    width: 100%;
  }

  .new-games {
    padding: 40px 20px;
    gap: 20px;
  }

  .new-games__title {
    font-size: 32px;
    letter-spacing: 0.32px;
  }

  .faq {
    padding: 40px 20px;
    gap: 20px;
  }

  .faq__title {
    font-size: 32px;
  }

  .partner {
    padding: 40px 20px;
    gap: 20px;
  }

  .partner__title {
    font-size: 32px;
  }

  .partner__header {
    gap: 20px;
  }

  .partner__contacts {
    flex-direction: column;
  }

  .partner__contact-item {
    width: 100%;
  }

  .partner__image {
    width: 100%;
    height: 350px;
  }

  .game-page {
    padding: 40px 20px;
    gap: 20px;
  }

  .game-page__title {
    font-size: 32px;
  }

  .game-page__images {
    flex-direction: column;
    gap: 20px;
  }

  .game-page__img {
    height: 200px;
  }

  .game-page__img--square {
    width: 100%;
    height: 250px;
  }

  .catalog {
    padding: 40px 20px;
    gap: 20px;
  }

  .catalog__title {
    font-size: 32px;
  }

  .catalog__gallery {
    flex-direction: column;
    width: 100%;
  }

  .catalog__gallery-left {
    width: 100%;
  }

  .catalog__gallery-left-top {
    gap: 12px;
  }

  .catalog__gallery-link--sm {
    width: auto;
    height: auto;
    flex: 1;
    min-width: 0;
    aspect-ratio: 1;
  }

  .catalog__gallery-link--lg {
    width: 100%;
    height: 342px;
  }

  .catalog__gallery-right {
    display: none;
  }

  .catalog__gallery-bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .catalog__gallery-link--wide {
    display: block;
    width: 100%;
    height: 342px;
  }

  .catalog__gallery-pair {
    display: flex;
    gap: 10px;
    width: 100%;
  }

  .catalog__gallery-link--pair {
    display: block;
  }

  .catalog__features {
    flex-direction: column;
    gap: 10px;
  }

  .footer {
    padding: 10px 20px;
  }

  .footer__logo-text {
    font-size: 20px;
  }

  .footer__nav {
    flex-direction: column;
    gap: 20px;
  }

  .cookie-banner {
    max-width: 480px;
    padding: 30px 20px;
    gap: 20px;
  }

  .cookie-banner__title {
    font-size: 32px;
  }

  .cookie-banner__buttons {
    flex-direction: column;
    width: 100%;
  }

  .cookie-banner__btn {
    width: 100%;
    padding: 18px 30px;
  }

  .faq__question {
    font-size: 18px;
  }

  .faq__toggle {
    width: 44px;
    height: 44px;
  }
}
