/* 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 {
  text-decoration: none;
}

a:hover {
  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: 'Lexend Exa';
  src: url('/thekiwicoastgoldrushgames-fonts/thekiwicoastgoldrushgames-lexendexa-variablefont-wght.woff2')
    format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('/thekiwicoastgoldrushgames-fonts/thekiwicoastgoldrushgames-opensans-variablefont-wdth-wght.woff2')
    format('woff2');
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  border: 0;
  clip: rect(0 0 0 0);
}

body {
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

.tx-logo {
  color: #fff;
  font-family: 'Open Sans';
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
  line-height: 120%;
  text-transform: uppercase;
}

@media (max-width: 780px) {
  .tx-logo {
    font-size: 10jpx;
  }
}

.tx-menu {
  color: #fff;
  text-align: right;
  font-family: 'Open Sans';
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* header */
.thekiwicoastgoldrushgames-header {
  background: linear-gradient(0deg, #72251b 0%, #d48240 100%);
  backdrop-filter: blur(15px);
  color: #fff;
  padding-top: 16px;
  padding-bottom: 16px;
}

.thekiwicoastgoldrushgames-header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.thekiwicoastgoldrushgames-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 800;
  line-height: 120%;
  text-transform: uppercase;
}

.thekiwicoastgoldrushgames-logo img {
  width: 30px;
  height: 30px;
}

/* меню (на десктопе flex) */
.thekiwicoastgoldrushgames-menu {
  display: flex;
  align-items: center;
  gap: 150px;
}

@media (max-width: 1140px) {
  .thekiwicoastgoldrushgames-menu {
    gap: 10px;
  }
}

/* nav */
.thekiwicoastgoldrushgames-nav__list {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.thekiwicoastgoldrushgames-nav__list a {
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.thekiwicoastgoldrushgames-nav__list a:hover {
  opacity: 0.8;
}

.loging-btn__container {
  display: flex;
  gap: 10px;
}

.loging-btn__container .btn {
  border: 1px solid #fff;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 120%;
  text-transform: uppercase;
  transition: background 0.3s;
}

.loging-btn__container .btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 24px;
  height: 3px;
  background: #00bfff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* мобильная версия */
@media (max-width: 992px) {
  .thekiwicoastgoldrushgames-menu {
    display: none;
  }

  .burger {
    display: flex;
  }

  .thekiwicoastgoldrushgames-logo {
    font-size: 10px;
  }

  .thekiwicoastgoldrushgames-menu.active {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: absolute;
    top: 60px;
    right: 0;
    background: #6b2311;
    padding: 20px;
    border-radius: 8px;
    z-index: 1000;
    width: max-content;
  }

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

/* hero section */

/* hero */
.thekiwicoastgoldrushgames-hero {
  background: url('/thekiwicoastgoldrushgames-img/thekiwicoastgoldrushgames-hero-bg-desk.webp')
    center/cover no-repeat;
  padding: 160px 0px;
  color: #fff;
}

.thekiwicoastgoldrushgames-hero__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.thekiwicoastgoldrushgames-hero__content {
  max-width: 600px;
}

.thekiwicoastgoldrushgames-hero__subtitle {
  color: #fff;
  font-family: 'Open Sans';
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.thekiwicoastgoldrushgames-hero__title {
  color: #fff;
  font-family: 'Open Sans';
  font-size: 48px;
  font-style: normal;
  font-weight: 800;
  line-height: 120%;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.thekiwicoastgoldrushgames-hero__buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.thekiwicoastgoldrushgames-hero__button {
  display: inline-block;
  padding: 14px 0px;
  border-radius: 10px;
  width: 246px;
  color: #141414;
  font-family: 'Open Sans';
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
}

.btn--yellow {
  background: #fc0;
  color: #000;
}

.btn--shine {
  transition: 0.5s; /* плавность изменения тени */
  background:
    /* передний эффект бликов */ repeating-linear-gradient(
      75deg,
      rgba(0, 0, 0, 0) 25%,
      rgba(255, 255, 255, 0.6) 26%,
      rgba(0, 0, 0, 0) 50%,
      rgba(0, 0, 0, 0) 100%
    ),
    #fc0; /* ЖЁЛТЫЙ фон */

  color: #000;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.4);

  /* быстрый блик всегда */
  animation: mymove 1s infinite linear;
}

.btn--shine:hover {
  background: repeating-linear-gradient(
      75deg,
      rgba(0, 0, 0, 0) 25%,
      rgba(255, 255, 255, 0.6) 26%,
      rgba(0, 0, 0, 0) 70%,
      rgba(0, 0, 0, 0) 100%
    ),
    #ffd633; /* ярче жёлтый при наведении */
  color: #000;
  box-shadow: -1px 5px 10px rgba(0, 0, 0, 0.35);
}

/* сама анимация */
@keyframes mymove {
  0% {
    background-position: 0px 0px;
  }
  100% {
    background-position: 500px 0px;
  }
}

.btn--white {
  background: #fff;
  color: #000;
}

.btn--white:hover {
  background: #f2f2f2;
}

.thekiwicoastgoldrushgames-hero__image img {
  max-width: 400px;
  height: auto;
}

/* mobile */
@media (max-width: 768px) {
  .thekiwicoastgoldrushgames-hero {
    background: url('/thekiwicoastgoldrushgames-img/thekiwicoastgoldrushgames-hero-bg-mb.webp')
      center/cover no-repeat;
    padding: 40px 2px;
  }

  .thekiwicoastgoldrushgames-hero__content {
    max-width: 246px;
  }

  .thekiwicoastgoldrushgames-hero__subtitle {
    font-size: 14px;
  }

  .thekiwicoastgoldrushgames-hero__title {
    font-size: 24px;
    text-align: left;
  }

  .thekiwicoastgoldrushgames-hero__buttons {
    justify-content: center;
    flex-direction: column;
    gap: 12px;
  }

  .thekiwicoastgoldrushgames-hero__image img {
    max-width: 280px;
  }
}

/*  stats */
.thekiwicoastgoldrushgames-stats {
  background: #171b26;
  padding: 60px 0px;
  color: #fff;
  text-align: center;
}

.thekiwicoastgoldrushgames-stats__title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 40px;
}

/* список */
.thekiwicoastgoldrushgames-stats__list {
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* карточка */
.stats-card {
  flex: 1 1 calc(25% - 20px); /* 4 карточки в ряд */
  max-width: 280px;
  border-radius: 10px;
  background: linear-gradient(180deg, #72251b 0%, #d48240 100%);
  backdrop-filter: blur(15px);
  padding: 16px 20px;
}

.stats-card__number {
  color: #fff;
  font-family: 'Lexend Exa', sans-serif;
  font-size: 40px;
  font-weight: 900;
  line-height: 120%;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.stats-card__title {
  color: #000;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 120%;
  text-transform: uppercase;
}

/* планшеты */
@media (max-width: 992px) {
  .thekiwicoastgoldrushgames-stats__list {
    justify-content: center;
  }

  .stats-card {
    flex: 1 1 calc(50% - 20px); /* 2 карточки в ряд */
    max-width: calc(50% - 20px);
  }

  .thekiwicoastgoldrushgames-stats__title {
    font-size: 28px;
  }
}

/* мобилки */
@media (max-width: 576px) {
  .stats-card {
    flex: 1 1 100%; /* одна карточка в ряд */
    max-width: 100%;
  }

  .thekiwicoastgoldrushgames-stats__title {
    font-size: 24px;
  }

  .stats-card__number {
    font-size: 22px;
  }
}

/* game section */
/* games */
.thekiwicoastgoldrushgames-games {
  background: #171b26;
  padding: 60px 20px;
  color: #fff;
  text-align: center;
}

.games-sub-title {
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.games-title {
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  font-family: 'Open Sans', sans-serif;
  font-size: 38px;
  font-weight: 700;
  line-height: 120%;
  text-transform: uppercase;
  margin-bottom: 40px;
}

/* список карточек через grid */
.games-list {
  list-style: none;
  margin: 0;
  padding: 0;

  display: grid;
  grid-template-columns: repeat(3, 1fr); /* по умолчанию 3 в ряд */
  gap: 30px;
  justify-items: center;
}

/* карточка */
.game-card {
  width: 100%;
  max-width: 360px;
  border-radius: 10px;
  background: linear-gradient(0deg, #72251b 0%, #d48240 100%);
  backdrop-filter: blur(15px);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.game-card__title {
  color: #000;
  text-align: center;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  font-family: 'Open Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.game-card__thumb img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 16px;
}

.game-card__btn {
  display: block;
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.3);
  color: #141414;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 120%;
  text-transform: uppercase;
  text-decoration: none;
}

/* планшеты */
@media (max-width: 992px) {
  .games-list {
    grid-template-columns: repeat(2, 1fr); /* 2 карточки */
  }
}

/* мобилки */
@media (max-width: 576px) {
  .games-list {
    grid-template-columns: 1fr; /* 1 карточка */
  }
  .games-sub-title {
    font-size: 14px;
  }

  .games-title {
    font-size: 24px;
  }
}

/* intro */

.thekiwicoastgoldrushgames-info {
  background: linear-gradient(180deg, #0a1c2d 0%, #112f46 100%);
  padding: 0px 20px;
  color: #fff;
}

.thekiwicoastgoldrushgames-info__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  flex-wrap: wrap;
}

.info-image img {
  width: 474px; /* фиксированная ширина на десктопе */
  height: auto;
  max-width: 100%; /* чтобы не ломалось */
}

.info-text {
  flex: 1;
  max-width: 500px;
}

.info-text h2 {
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 38px;
  font-style: normal;
  font-weight: 800;
  line-height: 120%;
  text-transform: uppercase;
}

.info-text p {
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 19.2px */
  text-transform: uppercase;
}

/* планшеты и мобилки */
@media (max-width: 992px) {
  .thekiwicoastgoldrushgames-info__container {
    padding-top: 40px;
    flex-direction: column-reverse;
    text-align: center;
    gap: 10px;
  }

  .info-image img {
    width: 270px; /* на мобилке */
  }

  .info-text h2 {
    font-size: 24px;
  }

  .info-text p {
    font-size: 14px;
  }
}

.thekiwicoastgoldrushgames-leaderboard {
  background: #171b26;
  padding: 60px 20px;
  color: #fff;
  text-align: center;
}

.thekiwicoastgoldrushgames-leaderboard .container {
  max-width: 888px;
  margin: 0 auto;
}

.leaderboard-subtitle {
  color: #fff;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 19.2px */
  text-transform: uppercase;
  margin-bottom: 8px;
}

.leaderboard-title {
  color: #fff;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  font-size: 38px;
  font-style: normal;
  font-weight: 800;
  line-height: 120%;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.leaderboard-list {
  counter-reset: rank;
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.leaderboard-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border-radius: 15px;
  background: linear-gradient(180deg, #d48240 0%, #72251b 100%);
  position: relative;
  counter-increment: rank;
}

.leaderboard-item::before {
  content: counter(rank);
  margin-right: 16px;

  color: #000;
  font-family: 'Open Sans', sans-serif;
  font-size: 36px;
  font-weight: 800;
  line-height: 120%;
  width: 48px;
}

.leaderboard-name {
  flex: 1;
  text-align: left;
  font-family: 'Open Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
}

.leaderboard-progress {
  flex: 2;
  border-radius: 20px;
  height: 12px;
  overflow: hidden;
}

.progress-bar {
  display: block;
  height: 100%;
  background: #fff;
  border-radius: 20px;
}

.leaderboard-score {
  font-family: 'Open Sans', sans-serif;
  font-size: 32px;
  font-weight: 800;
}

@media (max-width: 576px) {
  .thekiwicoastgoldrushgames-leaderboard {
    padding-left: 0;
    padding-right: 0;
  }
  .leaderboard-item {
    flex-direction: row; /* оставляем в строку */
    align-items: center;
    gap: 8px;
    padding: 12px; /* меньше паддинги */
  }

  .leaderboard-subtitle {
    font-size: 14px;
  }

  .leaderboard-title {
    font-size: 24px;
  }

  .leaderboard-item::before {
    font-size: 18px; /* меньше номер */
    width: 24px;
    margin-right: 6px;
  }

  .leaderboard-name {
    font-size: 14px; /* имя компактнее */
  }

  .leaderboard-progress {
    height: 8px; /* тоньше полоса */
  }

  .leaderboard-score {
    font-size: 18px; /* цифра меньше */
  }
}

/* */

.testimonials {
  background: #171b26;
  padding: 60px 20px;
  color: #fff;
  text-align: center;
}

.testimonials .container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.testimonials-subtitle {
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 19.2px */
  text-transform: uppercase;
  margin-bottom: 8px;
  text-align: left;
}

.testimonials-title {
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 38px;
  font-style: normal;
  font-weight: 800;
  line-height: 120%; /* 45.6px */
  text-transform: uppercase;
  margin-bottom: 40px;
  text-align: left;
}

.testimonials-list {
  display: flex;
  gap: 20px;
  overflow: hidden;
  scroll-behavior: smooth;
}

.testimonial {
  flex: 0 0 auto; /* убираем % */
  width: 400px; /* фиксированная ширина */
  text-align: left;
  border-radius: 10px;
  border: 1px solid #d48240;
  background: #0f0f0f;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

/* мобилка */
@media (max-width: 768px) {
  .testimonial {
    width: 100%;
  }
  .testimonials-list {
    flex-direction: column;
    overflow: visible;
  }
  .testimonials-nav {
    display: none;
  }
}

.testimonial-name {
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
  margin-bottom: 24px;
}

.testimonial-stars {
  height: 20px;
  margin-bottom: 12px;
}

.testimonial-text {
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 21px */
  margin-top: 16px;
}

/* кнопки слайдера */
.testimonials-nav {
  position: absolute;
  top: 50px;
  right: 20px;
  display: flex;
  gap: 10px;
}

.nav-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 45px;
  background: linear-gradient(0deg, #72251a 0%, #d3813f 100%);
  color: #141414;
  font-size: 20px;
  cursor: pointer;
}

/* мобилка — просто колонка */
@media (max-width: 768px) {
  .testimonials-title {
    font-size: 24px;
  }

  .testimonials-subtitle {
    font-size: 14px;
    text-align: center;
  }
  .testimonials-list {
    flex-direction: column;
    overflow: visible;
  }

  .testimonial {
    flex: 1 1 auto;
  }

  .testimonials-nav {
    display: none; /* кнопки убираем */
  }
}

/* footer */

/* === FOOTER === */
.site-footer {
  background: #0f0f0f;
  color: #fff;
  padding: 40px 20px;
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* верхняя часть с логотипом и описанием */
.footer-top {
  margin-bottom: 20px;
}

.thekiwicoastgoldrushgames-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}

.thekiwicoastgoldrushgames-logo img {
  width: 32px;
  height: 32px;
}

.footer-description {
  margin-top: 10px;
  line-height: 1.6;
}

/* блоки политик */
.footer-policies {
  display: flex;
  gap: 40px;
  margin: 40px 0;
}

.policy-block {
  flex: 1;
}

.footer-link {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.policy-block a {
  color: #fff;
  text-decoration: none;
}

.policy-block a:hover {
  text-decoration: underline;
}

/* навигация */
.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 40px;
  padding: 0;
  margin: 20px 0;
}

.footer-nav a {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* нижняя строка */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom span {
  text-transform: uppercase;
}

.footer-bottom p {
  margin: 0;
  color: #fff;
  font-family: 'Open Sans';
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: 130%;
}

.age-badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #fff;
  font-weight: 700;
  font-size: 14px;
}

/* === МОБИЛКА === */
@media (max-width: 768px) {
  .footer-description {
    max-width: 100%; /* на мобилке текст тянется на всю ширину */
  }

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

  .footer-nav ul {
    gap: 18px 0px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* form section */

.thekiwicoastgoldrushgames-contact {
  background: #171b26;
  padding: 60px 20px;
  color: #fff;
  display: flex;
  justify-content: center;
}

.thekiwicoastgoldrushgames-contact__container {
  max-width: 900px;
  width: 100%;
  border: 1px solid #d48240;
  border-radius: 10px;
  padding: 30px;
}

.contact-title {
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 28.8px */
  text-transform: uppercase;
  margin-bottom: 10px;
}

.contact-email {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;

  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}

.contact-email img {
  width: 24px;
  height: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label {
  text-align: left;
  color: #fff;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  margin-bottom: -8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(0deg, #72251b 0%, #d48240 100%);
  color: #fff;
  font-size: 16px;
  font-family: 'Open Sans', sans-serif;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.contact-btn {
  border-radius: 10px;
  background: #fc0;
  padding: 14px 24px;
  color: #141414;

  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 120%; /* 19.2px */
  text-transform: uppercase;
  width: 246px;
}

/* мобилки */
@media (max-width: 576px) {
  .thekiwicoastgoldrushgames-contact__container {
    padding: 20px;
  }

  .contact-title {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .contact-email {
    font-size: 12px;
    gap: 6px;
  }

  .contact-email img {
    width: 20px;
    height: 20px;
  }

  .contact-form label {
    font-size: 14px;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
    padding: 10px 12px;
  }

  .contact-btn {
    width: 100%; /* кнопка растягивается на всю ширину */
    font-size: 14px;
    padding: 12px;
  }
}

/* text section */

.thekiwicoastgoldrushgames-info-text {
  padding: 60px 0;
  background: #171b26;
}

.thekiwicoastgoldrushgames-info-text__container {
}

.thekiwicoastgoldrushgames-info-text__container p {
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

/* terms */

.terms {
  background: #171b26;
  padding: 50px 0;
  word-wrap: break-word;
}

.terms h1 {
  color: #fff;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 48px */
  text-transform: uppercase;
  margin-bottom: 10px;
}

.terms h2 {
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%; /* 38.4px */
  text-transform: uppercase;
  margin-bottom: 10px;
}

.terms p {
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin-bottom: 10px;
}

.terms ul li {
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin-bottom: 10px;
}

@media (max-width: 1024px) {
  .terms h1 {
    font-size: 32px;
  }
  .terms h2 {
    font-size: 26px;
  }
  .terms p,
  .terms ul li {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .terms {
    padding: 30px 16px;
  }
  .terms h1 {
    font-size: 26px;
    text-align: center;
  }
  .terms h2 {
    font-size: 20px;
  }
  .terms p,
  .terms ul li {
    font-size: 14px;
  }
}
.popup {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
}

.popup.is-open {
  display: flex;
}

.popup__dialog {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  max-width: 400px;
  width: 90%;
  position: relative;
}

.popup__close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.popup h2 {
  margin-bottom: 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  text-align: center;
}

.popup form {
  display: grid;
  gap: 12px;
}

.popup input {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
}

.btn-primary {
  background: linear-gradient(90deg, #ffcb47, #f196e5);
  color: #2d2d2d;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  text-transform: uppercase;
}

/* Общий фон */
.popup {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center; /* центр по вертикали */
  justify-content: center; /* центр по горизонтали */
  background: rgba(0, 0, 0, 0.6);
  z-index: 10000;
}

.popup.is-open {
  display: flex;
}

/* Белое окно */
.popup__dialog {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  max-width: 400px;
  width: 90%;
  position: relative;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Закрывашка */
.popup__close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #333;
}

/* Заголовки */
.popup h2 {
  margin-bottom: 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  text-align: center;
  font-weight: 600;
}

/* Формы */
.popup form {
  display: grid;
  gap: 12px;
}

.popup input {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}

.popup input:focus {
  border-color: #fc0;
  box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.3);
}

/* Кнопка */
.btn-primary {
  background: #fc0;
  color: #2d2d2d;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 14px;
  font-family: 'Open Sans', sans-serif;
}

.btn-primary:hover {
  background: #e6b800;
}
