/* Reset and base styles  */
* {
  padding: 0px;
  margin: 0px;
  border: none;
}

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

html {
  scroll-behavior: smooth;
}

/* Links */
a,
a:link,
a:visited,
a:hover,
a:active,
a:focus {
  color: inherit;
  text-decoration: none;
}

/* Common */

aside,
nav,
footer,
header,
section,
main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: inherit;
}

ul,
ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

/* Form */

input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input::-ms-clear {
  display: none;
}

button,
input[type='submit'] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

label {
  cursor: pointer;
}

legend {
  display: block;
}

input[type='file'] {
  max-width: 100%;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/hu-gamers-montserrat-variable-font-wght.woff2')
    format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Montserrat', sans-serif;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (max-width: 600px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* header */

.hu-games__header {
  background: #fff;
  width: 100%;
}

.hu-games__header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hu-games__logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.hu-games__logo {
  width: 276px;
}

@media (max-width: 780px) {
  .hu-games__header-container {
    justify-content: flex-start;
  }
  .hu-games__logo {
    width: 200px;
  }
}

/* hero section */
.hu-games-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  background: radial-gradient(
    67.51% 56.68% at 63.12% 57.06%,
    #ffd700 0%,
    #0a4a2e 100%
  );
  color: #fff;
  overflow: hidden;
  /* padding: 80px 40px; */
}

/* Левая колонка */
.hu-games-hero__container {
  max-width: 675px;
  margin-top: 60px;
  padding-left: 40px;
  margin-bottom: 24px;
}

.hu-games-hero__container h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 120%;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hu-games-hero__container p {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  margin-bottom: 12px;
}

.hu-games-hero__timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  border-radius: 28px;
  background: #154a36;
  position: relative;
  margin: 0 auto 24px;
  width: 100%;
}

.hu-games-hero__timer::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: linear-gradient(135deg, #ffd36a 0%, #ff7a59 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Один столбец таймера */
.hu-games-hero__time {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Лейбл */
.hu-games-hero__label {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 140%;
  text-transform: uppercase;
  text-align: center;
}

/* Цифра */
.hu-games-hero__value {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 34px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border-radius: 6.75px;
  border: 1.35px solid #f9c727;
  background: #154a36;
  position: relative;
}

/* Разделитель двоеточие */
.hu-games-hero__sep {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 25px;
}
.hu-games-hero__sep::before,
.hu-games-hero__sep::after {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
}

.hu-games-hero__btn {
  display: inline-block;
  width: 300px;
  text-align: center;
  padding: 14px 28px;
  background: linear-gradient(180deg, #f9c727 0%, #fb9737 48.56%, #fe6e46 100%);
  color: #212121 !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 150%;
  border-radius: 100px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  margin: auto;
}

/* Блик */
.hu-games-hero__btn .btn__glare {
  opacity: 0.8;
  position: absolute;
  top: -100px;
  left: -100px;
  width: 40px;
  height: 300px;
  background: #fff;
  transform: rotate(45deg);
  animation: slide 4s ease-in-out infinite;
}

@keyframes slide {
  0% {
    transform: translateX(-150%) rotate(45deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  30% {
    transform: translateX(350px) rotate(45deg);
    opacity: 0;
  }
  100% {
    transform: translateX(350px) rotate(45deg);
    opacity: 0;
  }
}

.hu-games-hero__img img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1024px) {
  .hu-games-hero {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    gap: 32px;
  }

  .hu-games-hero__container {
    margin-top: 40px;
    padding-left: 0;
    max-width: 100%;
  }

  .hu-games-hero__container h1 {
    font-size: 36px;
    line-height: 130%;
  }

  .hu-games-hero__container p {
    font-size: 15px;
  }

  .hu-games-hero__timer {
    max-width: 480px;
    gap: 20px;
    padding: 20px;
    flex-wrap: wrap;
  }

  .hu-games-hero__value {
    width: 64px;
    height: 64px;
    font-size: 28px;
  }

  .hu-games-hero__label {
    font-size: 11px;
  }

  .hu-games-hero__img {
    display: none;
  }
}

@media (max-width: 640px) {
  .hu-games-hero {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    text-align: center;
    gap: 0px;
    padding-bottom: 0;
  }

  .hu-games-hero__container {
    margin-top: 20px;
    padding-left: 0;
  }

  .hu-games-hero__container h1 {
    font-size: 28px;
    line-height: 120%;
  }

  .hu-games-hero__container p {
    font-size: 14px;
    line-height: 150%;
  }

  .hu-games-hero__timer {
    max-width: 100%;
    gap: 12px;
    padding: 16px;
    flex-wrap: wrap;
  }

  .hu-games-hero__sep {
    display: none;
  }

  .hu-games-hero__value {
    width: 56px;
    height: 56px;
    font-size: 22px;
  }

  .hu-games-hero__label {
    font-size: 10px;
  }

  .hu-games-hero__img {
    display: block;
    margin-top: 16px;
    justify-content: flex-end;
  }
}

/*  result section */
.hu-games-results {
  padding: 40px 20px;
  background: #fff;
  color: #111;
}

.hu-games-results__title {
  color: #212121;

  font-family: 'Montserrat', sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.hu-games-results__subtitle {
  margin-bottom: 24px;
  color: #212121;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.hu-games-results__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.hu-games-card {
  background: #f9f9f9;
  border-radius: 30px;
  background: #fafafa;
  padding: 32px;
  text-align: left;
}

.hu-games-card__city {
  margin-bottom: 15px;
  color: #212121;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.hu-games-card__numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: left;
  gap: 10px;
  margin-bottom: 15px;
  padding: 0;
  list-style: none;
  max-width: 240px;
}

.hu-games-card__numbers li {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #134c28;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.hu-games-card__prize {
  color: #212121;

  font-variant-numeric: lining-nums proportional-nums;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.hu-games-card__prize strong {
  color: #0a4a2e;
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 45px */
  text-transform: uppercase;
  margin-top: 5px;
}

.hu-games-results__note {
  color: #212121;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 24px */
  margin-top: 20px;
}

/* ---------- MEDIA QUERIES ---------- */

/* Промежуточный планшет (2 колонки) */
@media (max-width: 1024px) {
  .hu-games-results__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Мобилка (1 колонка) */
@media (max-width: 600px) {
  .hu-games-results__title {
    font-size: 24px;
    text-align: left;
  }

  .hu-games-results__subtitle {
    text-align: left;
    font-size: 14px;
  }

  .hu-games-results__list {
    grid-template-columns: 1fr;
  }

  .hu-games-card__numbers li {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .hu-games-card__numbers {
    max-width: 200px;
  }
}
/* favorites section */
.hu-games-favorites {
  padding: 60px 40px;
  background: #e4f4ed;
  text-align: center;
}

.hu-games-favorites__title {
  color: #212121;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 120%;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hu-games-favorites__subtitle {
  margin-bottom: 30px;
  color: #212121;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  text-align: left;
  max-width: 800px;
}

/* карточки */
.hu-games-favorites__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
}

.hu-games-favcard {
  background: #fff;
  border-radius: 30px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hu-games-favcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.hu-games-favcard__title {
  color: #0a4a2e;
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 120%;
  text-transform: uppercase;
  margin-bottom: 15px;
  text-align: center;
}

.hu-games-favcard p {
  color: #212121;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
}

.hu-games-favcard strong {
  font-weight: 700;
}

.hu-games-favcard__btn {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  border: none;
  cursor: pointer;
  background: linear-gradient(180deg, #ffd700 0%, #ff7a00 100%);
  transition: opacity 0.3s;
  margin-top: auto;
}

.hu-games-favcard__btn:hover {
  opacity: 0.8;
}

.hu-games-favorites__note {
  color: #212121;
  font-family: 'Montserrat', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 120%;
  text-transform: uppercase;
  margin-top: 20px;
}

/* ======= Адаптив ======= */

/* планшеты: 1024px - 768px */
@media (max-width: 1024px) {
  .hu-games-favorites {
    padding: 50px 30px;
  }

  .hu-games-favorites__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .hu-games-favcard {
    padding: 28px;
  }

  .hu-games-favcard__title {
    font-size: 24px;
  }

  .hu-games-favorites__title {
    font-size: 32px;
  }
}

/* мелкие планшеты: 768px - 600px */
@media (max-width: 768px) {
  .hu-games-favorites {
    padding: 40px 24px;
  }

  .hu-games-favorites__list {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hu-games-favcard {
    text-align: center;
    padding: 24px;
  }

  .hu-games-favcard p {
    justify-content: center;
  }

  .hu-games-favorites__title {
    text-align: center;
  }

  .hu-games-favorites__subtitle {
    text-align: center;
    margin: 0 auto 24px;
  }
}

/* телефоны: до 600px */
@media (max-width: 600px) {
  .hu-games-favorites {
    padding: 30px 16px;
  }

  .hu-games-favorites__title {
    font-size: 24px;
    line-height: 130%;
  }

  .hu-games-favorites__subtitle {
    font-size: 14px;
  }

  .hu-games-favcard__title {
    font-size: 20px;
  }

  .hu-games-favcard p {
    font-size: 14px;
  }

  .hu-games-favorites__note {
    display: none;
  }
}

.hu-games-winners {
  padding: 60px 20px;
  background: #0a4a2e;
  color: #fff;
}

.hu-games-winners__title {
  color: #fff;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 120%;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.hu-games-winners__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hu-games-winner-card {
  background: #fff;
  color: #212121;
  border-radius: 30px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #f9c727;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* шапка карточки — фото + имя */
.hu-games-winner-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hu-games-winner-card__img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.hu-games-winner-card__name {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.hu-games-winner-card__text {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
  .hu-games-winners__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hu-games-winners__list {
    grid-template-columns: 1fr;
  }

  .hu-games-winner-card {
    text-align: center;
    align-items: flex-start;
  }

  .hu-games-winner-card__header {
    justify-content: center;
  }

  .hu-games-winner-card__text {
    text-align: left;
  }
}

@media (max-width: 360px) {
  .hu-games-disclaimer .hu-games-hero__btn {
    width: 250px !important;
  }
}

.hu-games-reviews {
  padding: 60px 20px;
  background: #fff;
  color: #212121;
}

.hu-games-reviews__title {
  color: #212121;
  font-family: 'Montserrat', sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 48px */
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hu-games-reviews__subtitle {
  color: #212121;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin-bottom: 40px;
}

.hu-games-reviews__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.hu-games-reviews__item {
  text-align: left;
}

.hu-games-reviews__name {
  color: #212121;
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 36px */
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hu-games-reviews__text {
  color: #212121;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin: 0;
}

@media (max-width: 1024px) {
  .hu-games-reviews__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hu-games-reviews__title {
    font-size: 24px;
  }

  .hu-games-reviews__list {
    grid-template-columns: 1fr;
  }

  .hu-games-reviews__item {
    text-align: center;
    max-width: 215px;
    margin: auto;
  }

  .hu-games-reviews__name,
  .hu-games-reviews__text {
    text-align: left;
  }
}
/* disclaimer */
.hu-games-disclaimer {
  padding: 60px 20px;
  background: radial-gradient(
    36.32% 50.12% at 50% 49.88%,
    #ffd700 0%,
    #0a4a2e 100%
  );
  color: #fff;
  text-align: center;
  position: relative;
}

.hu-games-disclaimer__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hu-games-disclaimer__subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.hu-games-disclaimer__text {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 150%;
  max-width: 720px;
  margin: 0 auto 40px;
  color: #f1f1f1;
}

.hu-games-disclaimer__lotto-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hu-games-disclaimer__amount {
  font-family: 'Montserrat', sans-serif;
  font-size: 56px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

/* Таймер */
.hu-games-disclaimer .hu-games-hero__timer {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 30px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* позволяет переноситься на маленьких экранах */
}

/* ---------- Планшет ---------- */
@media (max-width: 1024px) {
  .hu-games-disclaimer__title {
    font-size: 28px;
  }
  .hu-games-disclaimer__lotto-title {
    font-size: 22px;
  }
  .hu-games-disclaimer__amount {
    font-size: 46px;
  }
  .hu-games-disclaimer .hu-games-hero__timer {
    max-width: 600px;
    gap: 16px;
  }
}

/* ---------- Мобилка ---------- */
@media (max-width: 600px) {
  .hu-games-disclaimer {
    padding: 40px 16px;
  }

  .hu-games-disclaimer__title {
    font-size: 24px;
  }

  .hu-games-disclaimer__lotto-title {
    font-size: 20px;
  }

  .hu-games-disclaimer__amount {
    font-size: 32px;
    margin-bottom: 24px;
  }

  .hu-games-disclaimer .hu-games-hero__timer {
    align-items: center;
    gap: 12px;
    max-width: 100%;
  }
}

/* footer */

.hu-games-footer {
  background: #fff;
  padding: 40px 0;
  max-width: 1240px;
  margin: auto;
}

.hu-games-footer-text {
  color: #212121;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  text-transform: uppercase;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.hu-games-footer-logo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.hu-games-footer-navigation-container {
  display: flex;
  gap: 24px;

  color: #6c6c6c;

  text-align: right;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

.hu-games-social-network {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.hu-games-social-network img {
  width: 32px;
  height: 32px;
}

.hu-games-footer__partners {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hu-games-footer__partner img {
  width: auto;
  height: 42px;
}

.hu-games-footer-disclaimer {
  color: #212121;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  text-align: center;
}

/* ---------- Планшет (max-width: 1024px) ---------- */
@media (max-width: 1024px) {
  .hu-games-footer-logo-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .hu-games-footer-navigation-container {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .hu-games-footer__partners {
    justify-content: center;
    gap: 24px 32px;
  }

  .hu-games-footer__partner img {
    height: 36px;
  }
}

/* ---------- Мобилка (max-width: 600px) ---------- */
@media (max-width: 600px) {
  .hu-games-footer {
    padding: 30px 16px;
  }

  .hu-games-footer-text {
    font-size: 14px;
    gap: 12px;
    margin-bottom: 24px;
  }

  .hu-games-footer-logo-container {
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
  }

  .hu-games-footer-logo-container img {
    width: 200px;
  }

  .hu-games-footer-navigation-container {
    text-align: center;
    gap: 12px;
  }

  .hu-games-social-network {
    margin-bottom: 24px;
    gap: 16px;
  }

  .hu-games-footer__partners {
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
  }

  .hu-games-footer__partner img {
    height: 32px;
  }

  .hu-games-footer-disclaimer {
    font-size: 14px;
    line-height: 140%;
  }
}

/* Базовый попап */
.hu-games-hero__popup {
  width: 380px;
  background: #0a4a2e;
  border-radius: 24px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-family: 'Montserrat', sans-serif;
  color: #fff;

  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(0.9);
  position: fixed;
  top: 50%;
  left: 50%;
  transition: all 0.3s ease;
  z-index: 1000;
}

/* Показываем */
.hu-games-hero__popup.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

@media (max-width: 780px) {
  .hu-games-hero__popup {
    width: 360px;
  }
}

/* Табы */
.hu-games-hero__tabs {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.hu-games-hero__tab {
  flex: 1;
  padding: 12px 20px;
  border-radius: 50px;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hu-games-hero__tab--active {
  background: linear-gradient(180deg, #f9c727 0%, #fb9737 50%, #fe6e46 100%);
  border: none;
  color: #212121;
}

/* Форма */
.hu-games-hero__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hu-games-hero__input {
  padding: 14px 18px;
  border-radius: 50px;
  border: none;
  font-size: 15px;
  font-weight: 500;
  outline: none;
  width: 100%;
  background: #fff;
  color: #212121;
}

.hu-games-hero__input::placeholder {
  color: #7a7a7a;
  font-weight: 400;
}

/* Чекбокс */
.hu-games-hero__checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #fff;
  cursor: pointer;
}

.hu-games-hero__checkbox input {
  width: 16px;
  height: 16px;
  accent-color: #f9c727;
}

.hu-games-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  border-radius: inherit;
}
.hu-games-hero__content {
  position: relative;
  z-index: 2;
}

.js-close-popup-simple {
  position: absolute;
  top: -25px;
  right: 0;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.3s ease;
}

@media (max-width: 480px) {
  .hu-games-hero__popup {
    width: 90%;
    max-width: 320px;
    padding: 20px 16px;
    border-radius: 20px;
    gap: 16px;
  }

  .hu-games-hero__tabs {
    gap: 8px;
    margin-bottom: 16px;
  }

  .hu-games-hero__tab {
    padding: 10px 14px;
    font-size: 14px;
    border-width: 1.5px;
  }

  .hu-games-hero__input {
    padding: 12px 14px;
    font-size: 14px;
    border-radius: 40px;
  }

  .hu-games-hero__checkbox {
    font-size: 12px;
    line-height: 1.4;
  }

  .hu-games-hero__checkbox input {
    width: 14px;
    height: 14px;
  }

  .js-close-popup-simple {
    top: -20px;
    right: -4px;
    font-size: 20px;
  }

  form .hu-games-hero__btn {
    width: auto;
  }
}

/* terms */

.terms {
  padding: 60px 20px;
  margin: 0 auto;
  font-family: 'Montserrat', sans-serif;
  color: #212121;
  line-height: 150%;
}

/* h1 */
.terms h1 {
  font-size: 40px;
  font-weight: 700;
  line-height: 120%;
  text-transform: uppercase;
  margin-bottom: 32px;
  text-align: center;
}

/* h2 */
.terms h2 {
  font-size: 28px;
  font-weight: 700;
  line-height: 130%;
  margin: 40px 0 16px;
  text-transform: uppercase;
  color: #0a4a2e;
}

/* h3 */
.terms h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 28px 0 12px;
}

/* p */
.terms p {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 16px;
}

/* ul и ol */
.terms ul,
.terms ol {
  margin: 16px 0 24px 24px;
  padding: 0;
  font-size: 16px;
  font-weight: 400;
}

.terms ul li,
.terms ol li {
  margin-bottom: 8px;
  line-height: 150%;
}

/* мобилка */
@media (max-width: 640px) {
  .terms {
    padding: 40px 16px;
  }

  .terms h1 {
    font-size: 28px;
  }

  .terms h2 {
    font-size: 22px;
  }

  .terms h3 {
    font-size: 18px;
  }

  .terms p,
  .terms ul,
  .terms ol {
    font-size: 14px;
  }
}
