@charset "UTF-8";
:root {
  --white-color: #ffffff;
  --gray-100: #f1f1f1;
  --gray-200: #d6d6d6;
  --gray-400: #55565a;
  --gray-600: #282829;
  --gray-800: #3a3a3a;
  --green: #2b8a3e;
  --red: #ce386a;
  --yellow: #f6cf4b;
  --orange: #ffb700;
  --blue: #0a5fb3;
  --purple: #3d1852;
  --accent-color: var(--orange);
  --bg-color: var(--white-color);
  --text-color: var(--gray-600);
  --border-color: var(--gray-100);
  --input-border-color: var(--gray-200);
  --primary-color: var(--red);
  --text-secondary: var(--gray-400);
  --header-bg: var(--purple);
  --border-radius: 4px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  /* buttons */
  --btn-border-radius: 50px;
  --btn-font-size: 16px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
@media (min-width: 768px) {
  html {
    scroll-padding-top: 170px;
  }
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  /* header */
  --header-h: 50px;
  --header-padding: 10px;
}
@media (min-width: 992px) {
  body {
    --header-h: 70px;
  }
}

.hidden {
  overflow: hidden;
}

section:first-child {
  padding-top: calc(var(--header-h) + 50px);
}
@media (min-width: 768px) {
  section:first-child {
    padding-top: calc(var(--header-h) + 30px);
  }
}
@media (min-width: 992px) {
  section:first-child {
    padding-top: calc(var(--header-h) + 20px);
  }
}

button {
  outline: none;
  border: none;
}

ul li {
  list-style: none;
}

.list {
  margin-bottom: 20px;
}

.list li::before {
  content: "•";
  color: var(--primary-color);
  margin-right: 10px;
}

a {
  display: inline-block;
  text-decoration: none;
  color: var(--text-color);
}

.container {
  --container-padding: 20px;
  max-width: calc(1060px + 3 * var(--container-padding));
  padding: 0 var(--container-padding);
  margin: auto;
}

.section {
  --pad-top: 50px;
  padding-top: var(--pad-top);
  padding-bottom: calc(var(--pad-top) * 1);
  border-bottom: 1px solid var(--border-color);
}

.mw-100 {
  max-width: 100%;
}

.mw-50 {
  max-width: 49%;
}

.mw-600 {
  max-width: 600px;
}

.mw-800 {
  max-width: 800px;
}

.m-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-24 {
  margin-top: 24px;
}

p {
  margin-bottom: 12px;
}

.title-wrap {
  margin-bottom: calc(var(--pad-top) * 0.5);
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--primary-color);
}

.link {
  color: var(--primary-color);
  text-decoration: underline;
}

@font-face {
  font-family: "Montserrat";
  src: local("Montserrat");
  src: url(assets/font/Montserrat/Montserrat-VariableFont_wght.ttf);
}
h1,
h2,
h3 {
  text-wrap: balance;
  font-family: "Montserrat", serif;
}

@font-face {
  font-family: "Inter";
  src: local("Inter");
  src: url(assets/font/Inter/Inter-VariableFont_opsz,wght.ttf);
}
body {
  font-family: "Inter", sans-serif;
}

h1,
.h1 {
  font-size: 32px;
  line-height: 120%;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  h1,
  .h1 {
    font-size: 38px;
  }
}

h2,
.h2 {
  font-size: 26px;
  line-height: 110%;
  margin-bottom: 20px;
}

h3 {
  margin-bottom: 12px;
}

p,
a {
  font-size: 16px;
}
@media (min-width: 768px) {
  p,
  a {
    font-size: 18px;
  }
}

.fw-600 {
  font-weight: 600;
}

.align-items-center {
  align-items: center;
}

.grid {
  display: grid;
  grid-gap: var(--gap, 20px);
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 576px) {
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 768px) {
  .grid-4 {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

@media (min-width: 576px) {
  .img-3 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 768px) {
  .img-3 {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

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

.br {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.br-md {
  border-radius: var(--border-radius-md);
  overflow: hidden;
}

.br-lg {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
}

.button {
  cursor: pointer;
  line-height: 1;
  font-size: var(--btn-font-size);
  border-radius: var(--btn-border-radius);
  font-weight: 600;
  color: var(--white-color);
  padding: 16px 32px;
  margin: 6px 0;
  text-align: center;
  max-width: 100%;
}
.button:hover {
  opacity: 0.9;
  transition: opacity 0.3s;
}
.button[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}
@media (max-width: 576px) {
  .button {
    width: 100%;
  }
}

.button-primary {
  background-color: var(--primary-color);
  position: relative;
  overflow: hidden;
  vertical-align: middle;
}
.button-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  pointer-events: none;
  animation: flash-left-right 3s linear infinite;
  animation-delay: 2s;
}
@keyframes flash-left-right {
  0% {
    left: -100%;
  }
  20% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

.button-secondary {
  background-color: var(--text-secondary);
}

.button-sm {
  padding: 12px 24px;
}

.header {
  position: fixed;
  top: 0;
  z-index: 50;
  width: 100%;
  padding: var(--header-padding) 0;
  background: var(--header-bg);
}

.logo {
  height: calc(var(--header-h) - 2 * var(--header-padding));
}
@media (min-width: 769px) {
  .logo {
    width: 60px;
    height: auto;
  }
}

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

.nav-menu {
  --padding-link: 5px;
  display: flex;
  gap: calc(30px - 2 * var(--padding-link));
}

.nav-menu__link {
  font-size: 14px;
  padding: var(--padding-link);
  text-transform: uppercase;
  transition: color 0.3s ease-in-out;
}

.footer {
  padding: 60px 0;
  background: var(--header-bg);
  color: var(--white-color);
}
.footer__contacts-wrap {
  margin-bottom: 32px;
}
.footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer h3 {
  color: var(--accent-color);
}
.footer .footer-link {
  margin-bottom: 8px;
  transition: all 0.3s ease-in-out;
  color: var(--white-color);
  font-size: 0.9rem;
  position: relative;
}
.footer .footer-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--primary-color);
  transition: width 0.3s ease;
}
.footer .footer-link:hover::after {
  width: 100%;
}
.footer__about {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.fade {
  animation: fadeScale 0.5s ease-out;
}

@keyframes fadeScale {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.hero-download {
  background-color: var(--header-bg);
  color: var(--white-color);
  height: 100dvh;
}
.hero-download .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-evenly;
  height: 100%;
  text-align: center;
  max-width: 90%;
  margin: auto;
}
@media (min-width: 768px) {
  .hero-download {
    height: auto;
    padding: 10px 0;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 10;
  }
  .hero-download .container {
    justify-content: flex-start;
    align-items: center;
  }
}

.card {
  border-radius: 1rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  padding: 2rem 1.5rem;
}
.card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.4;
}
.card .text-secondary {
  margin: 0;
}

.game-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #23272e;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: #fff;
}
.game-card h3 {
  transition: color 0.3s ease-in-out;
}
.game-card:hover h3, .game-card:focus h3 {
  color: var(--orange);
}
.game-card__img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  background: #181a20;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.game-card__img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  border-bottom: 1px solid #181a20;
}
.game-card__info {
  padding: 1.2rem 1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.game-card__description {
  font-size: 0.9rem;
  color: #c7c7c7;
  margin: 0 0 0.5rem 0;
  line-height: 1.5;
}
.game-card__discount {
  background: var(--primary-color);
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0.3em 0.8em;
  border-radius: 6px;
  align-self: flex-start;
  margin-bottom: 0.2em;
  letter-spacing: 0.03em;
}
.game-card__prices {
  display: flex;
  align-items: baseline;
  gap: 0.7em;
}
.game-card__old-price {
  color: #b0b0b0;
  text-decoration: line-through;
  font-size: 0.9rem;
}
.game-card__new-price {
  color: var(--orange);
  font-size: 1.25rem;
  font-weight: bold;
}

.section-secondary {
  background: var(--gray-100);
  color: black;
}

.text-accent {
  color: var(--orange);
}

.section-terms {
  margin-top: 4rem;
  counter-reset: section-terms-h3;
}
.section-terms h3 {
  counter-increment: section-terms-h3;
}
.section-terms h3::before {
  content: counter(section-terms-h3) ". ";
  font-weight: bold;
  margin-right: 0.5em;
}
.section-terms h2 {
  margin-top: 2rem;
  font-size: 1.6rem;
}/*# sourceMappingURL=style.css.map */