* {
  padding: 0;
  margin: 0;
  border: 0;
}

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

:active,
:focus {
  outline: 0;
}

a:active,
a:focus {
  outline: 0;
}

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

body,
html {
  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;
  overscroll-behavior: none;
}

button,
input,
textarea {
  font-family: inherit;
}

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

input,
textarea {
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

textarea::placeholder,
input::placeholder {
  color: inherit;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: inherit;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
  color: inherit;
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: inherit;
}

input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
  color: inherit;
}

input::placeholder,
textarea::placeholder {
  color: inherit;
}

textarea {
  resize: none;
}

button {
  cursor: pointer;
  background-color: transparent;
}

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

a {
  display: inline-block;
  color: inherit;
}

a,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: center;
  object-position: center;
  vertical-align: top;
}

svg {
  display: block;
  width: 100%;
  height: 100%;
}

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

input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}

.container {
  padding: 0 40px;
}

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

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

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

:root {
  overscroll-behavior: none;
  /* // Шрифты */
  --font-main: "jocuricastiga_Lato", sans-serif;
  --background-page: #1d1d1d;
  --main: var(--white);
  --black: #000000;
  --white: #ffffff;
  --i: calc(1vw + 1vh);
  --hover-a: #a09f9f;
}

.jocuricastiga_page {
  display: flex;
  flex-direction: column;
  font-family: var(--font-main);
  min-height: 100vh;
  overflow: hidden;
  color: var(--main);
  background-color: var(--background-page);
}

@font-face {
  font-family: "jocuricastiga_JosefinSans_Bold";
  font-weight: 100 900;
  font-style: normal;
  src: url(/jocuricastiga-fonts/jocuricastiga_JosefinSans_Bold.woff2) format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "jocuricastiga_Lato";
  font-weight: 100 900;
  font-style: normal;
  src: url(/jocuricastiga-fonts/jocuricastiga_Lato-Light.woff2) format("woff2");
  font-display: swap;
}

h1 {
  font-family: "jocuricastiga_JosefinSans_Bold";
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}

h2 {
  font-family: "jocuricastiga_JosefinSans_Bold";
  font-size: 38px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}

h3 {
  font-family: "jocuricastiga_JosefinSans_Bold";
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}

p {
  font-family: "jocuricastiga_Lato";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

footer a {
  font-family: "jocuricastiga_Lato";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
footer p {
  font-family: "jocuricastiga_Lato";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

@media (max-width: 991px) {
  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 20px;
  }

  p {
    font-size: 14px;
  }
}

.btn {
  border-radius: 200px;
  border: 1px solid #fff;
  background: linear-gradient(180deg, #ffe015 0.6%, #ed8b00 100.6%);

  font-family: "jocuricastiga_JosefinSans_Bold";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;

  padding: 14px;
  width: 100%;

  display: flex;
  justify-content: center;
}

/* font-weight */

.f--w-100 {
  font-weight: 100;
}

.f--w-200 {
  font-weight: 200;
}

.f--w-300 {
  font-weight: 300;
}

.f--w-400 {
  font-weight: 400;
}

.f--w-500 {
  font-weight: 500;
}

.f--w-600 {
  font-weight: 600;
}

.f--w-700 {
  font-weight: 700;
}

.f--w-800 {
  font-weight: 800;
}

.f-w-900 {
  font-weight: 900;
}
/* font-size */

.f-s-10 {
  font-size: 10px;
}

.f-s-12 {
  font-size: 12px;
}

.f-s-14 {
  font-size: 14px;
}

.f-s-16 {
  font-size: 16px;
}

.f-s-20 {
  font-size: 20px;
}

.f-s-16 {
  font-size: 16px;
}

.f-s-18 {
  font-size: 18px;
}

.f-s-20 {
  font-size: 20px;
}

.f-s-26 {
  font-size: 26px;
}

.f-s-30 {
  font-size: 30px;
}

.f-s-32 {
  font-size: 32px;
}

.f-s-40 {
  font-size: 40px;
}

.f-s-50 {
  font-size: 50px;
}

/* padding */

.p-t-20 {
  padding-top: 20px;
}

.p-t-40 {
  padding-top: 40px;
}

.p-t-50 {
  padding-top: 50px;
}
.p-t-80 {
  padding-top: 80px;
}
.p-t-100 {
  padding-top: 100px;
}

.p-b-10 {
  padding-bottom: 10px;
}

.p-b-20 {
  padding-bottom: 20px;
}

.p-b-50 {
  padding-bottom: 50px;
}
.p-b-50 {
  padding-bottom: 50px;
}

/* margin */
.m-t-10 {
  margin-top: 10px;
}
.m-t-20 {
  margin-top: 20px;
}

.m-t-30 {
  margin-top: 30px;
}

.m-t-40 {
  margin-top: 40px;
}
.m-t-50 {
  margin-top: 50px;
}

.m-b-10 {
  margin-bottom: 10px;
}

.m-b-20 {
  margin-bottom: 20px;
}
.m-b-30 {
  margin-bottom: 30px;
}

.m-b-40 {
  margin-bottom: 40px;
}
.m-b-50 {
  margin-bottom: 50px;
}

/* flex */

.flex {
  display: flex;
}

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

.justi-center {
  justify-content: center;
}

.space-between {
  justify-content: space-between;
}

.colum {
  flex-direction: column;
}

.wrap {
  flex-wrap: wrap;
}

.jocuricastiga_main {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
}

.no-wrap {
  white-space: nowrap;
}

.none-uppercase {
  text-transform: none;
}

.word-break {
  word-break: break-all;
}

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

.img-contain {
  object-fit: contain;
}

.img-cover {
  object-fit: cover;
}

.underline {
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

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

.uppercase {
  text-transform: uppercase;
}

.lowercase {
  text-transform: lowercase;
}

.rd-upload img {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.rd-load img {
  opacity: 1;
}

/* !!!!!!!!!!!!!!!!!!!!!!! */
/* gap */
/* !!!!!!!!!!!!!!!!!!!!!!! */
.gap-5 {
  gap: 5px;
}

.gap-10 {
  gap: 10px;
}

.gap-20 {
  gap: 20px;
}
.gap-30 {
  gap: 30px;
}
.gap-40 {
  gap: 40px;
}
.gap-50 {
  gap: 50px;
}

/* !!!!!!!!!!!!!!!!!!!!!!! */
/* terms */
/* !!!!!!!!!!!!!!!!!!!!!!! */

.jocuricastiga_terms_container {
  padding: 50px 0;
}

.jocuricastiga_terms h1 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

@media (max-width: 600px) {
  .jocuricastiga_terms h1 {
    font-size: 16px;
  }
}

.jocuricastiga_terms h1:not(:last-child) {
  margin-bottom: 10px;
}

.jocuricastiga_terms h2 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

@media (max-width: 600px) {
  .jocuricastiga_terms h2 {
    font-size: 16px;
  }
}

.jocuricastiga_terms h2:not(:last-child) {
  margin-bottom: 10px;
}

.jocuricastiga_terms p {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 400;
}

.jocuricastiga_terms p:not(:last-child) {
  margin-bottom: 20px;
}

.jocuricastiga_terms ul:not(:last-child) {
  margin-bottom: 20px;
}

.jocuricastiga_terms li {
  font-size: 16px;
  line-height: 1.3;
  color: var(--main);
  font-weight: 400;
}

.jocuricastiga_terms li:not(:last-child) {
  margin-bottom: 30px;
}

@media (max-width: 991px) {
  .jocuricastiga_terms li:not(:last-child) {
    margin-bottom: 20px;
  }
}

@media (max-width: 600px) {
  .jocuricastiga_terms li:not(:last-child) {
    margin-bottom: 15px;
  }
}

/* !!!!!!!!!!!!!!!!!!!!!!! */
/* header */
/* !!!!!!!!!!!!!!!!!!!!!!! */

.jocuricastiga_header {
  padding: 20px 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.63) 60.1%, rgba(102, 102, 102, 0.63) 100%);
  backdrop-filter: blur(21.25px);
}

header .jocuricastiga_logo img {
  width: 208px;
  height: 30px;
}

@media (max-width: 991px) {
  .jocuricastiga_header {
    padding: 10px 0;
  }
}

/* !!!!!!!!!!!!!!!!!!!!!!! */
/* footer */
/* !!!!!!!!!!!!!!!!!!!!!!! */

footer {
  padding: 40px 0;
  background: #b0a3cc;
  color: #000;
}

.jocuricastiga_footer_nav {
  gap: 80px;
}

@media (max-width: 480px) {
  .jocuricastiga_footer_center_block {
    flex-direction: column;
  }
  .jocuricastiga_footer_link {
    max-width: 250px;
  }
}

@media (max-width: 400px) {
  .jocuricastiga_footer_nav {
    gap: 20px;
  }
}

/* !!!!!!!!!!!!!!!!!!!!!!! */
/* form_popap */
/* !!!!!!!!!!!!!!!!!!!!!!! */

button {
  color: #000;
}

.jocuricastiga_form_popap_wrapper {
  position: fixed;
  width: 100%;
  height: 100vh;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.jocuricastiga_form_popap_wrapper {
  color: #000;
}
.form_page_reg {
  color: #000;
}

.jocuricastiga_form_popap {
  width: 100%;
  max-width: 450px;
  padding: 20px;
  border-radius: 10px;
  background: #b0a3cc;
}

.form_page_input {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.form_page_reg .btn {
  width: 100%;
  color: #000;
  max-width: 100px;
}

.jocuricastiga_form_popap_wrapper {
  display: none;
  /* или visibility: hidden; opacity: 0; */
}

.jocuricastiga_form_popap_wrapper_active {
  display: flex;
  /* или visibility: visible; opacity: 1; */
}

/* !!!!!!!!!!!!!!!!!!!!!!! */
/* popup */
/* !!!!!!!!!!!!!!!!!!!!!!! */
.popup {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(6px);
}

.popup.active {
  display: flex;
}

.popup__close {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.popup__content {
  max-width: 540px;
  overflow: auto;
  width: 100%;
  position: relative;
  z-index: 2;
  margin: auto;

  border-radius: 20px;
  border: 1px solid #fff;
  background: #1e1f1f;

  backdrop-filter: blur(12.5px);
  padding: 50px 20px;
  text-align: center;
}

.popup__text {
  color: var(--white);
}

.popup__text h3 {
  font-family: "Tomorrow";
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%; /* 40px */
  text-transform: uppercase;
}

.popup__text p {
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 100%;

  padding-top: 20px;
  padding-bottom: 40px;
}

.jocuricastiga_form_popap_wrapper .btn {
  max-width: 100px;
  margin-top: 24px;
  color: #000;
}
.popap_massege_h3 {
  color: #000;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

@media (max-width: 991px) {
  .popup__content {
    padding: 26px;
    max-width: 360px;
  }
  .popup__text h3 {
    font-size: 24px;
  }

  .popup__exit {
    font-size: 14px;
  }
  .popup__text p {
    font-size: 14px;
  }
}

.popup__exit {
  display: inline-flex;
  align-items: center;

  font-family: "Tomorrow";
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%; /* 18px */
  text-transform: uppercase;

  border-radius: 10px;

  padding: 16px;
  width: 100%;
  max-width: 100%;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

@media (max-width: 768px) {
  .popup__content {
    max-width: 340px;
  }
}

.popup__exit:hover {
  background-color: var(--btn-hover);
}

.popap-form h3 {
  font-size: 26px;
}

/* !!!!!!!!!!!!!!!!!!!!!!! */
/* home */
/* !!!!!!!!!!!!!!!!!!!!!!! */

.gap-24 {
  gap: 24px;
}
.gap-32 {
  gap: 32px;
}
.m-b-16 {
  margin-bottom: 16px;
}
.m-b-24 {
  margin-bottom: 24px;
}
.m-b-32 {
  margin-bottom: 32px;
}

.gap-16 {
  gap: 16px;
}

body {
  background: #000;
}

.button {
  position: relative;
  border: none;
  background: violet;
  padding: 15px 40px;
  font-size: 20px;
  display: block;
  width: 200px;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
  color: black;
  text-align: center;
  cursor: pointer;
}
.btn {
  border-radius: 200px;
  border: 1px solid #fff;
  background: linear-gradient(180deg, #ffe015 0.6%, #ed8b00 100.6%);

  font-family: "jocuricastiga_JosefinSans_Bold";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;

  padding: 14px;
  width: 100%;
  max-width: 772px;
  display: flex;
  justify-content: center;
}

.button__glare {
  opacity: 0.8;
  position: absolute;
  top: -100px;
  left: -100px;
  display: block;
  background: #fff;
  width: 40px;
  height: 300px;
  transition: all 0.1s;
  transform: rotate(45deg);
  animation-delay: 0.05s;
  animation-timing-function: ease-in-out;
  animation-name: slide;
  animation-duration: 4s;
  animation-iteration-count: infinite;
}

@keyframes slide {
  0% {
    transform: translateX(0) rotate(45deg);
  }
  30%,
  100% {
    transform: translateX(1000px) rotate(45deg);
  }
}

@media (max-width: 500px) {
  @keyframes slide {
    0% {
      transform: translateX(0) rotate(45deg);
    }
    30%,
    100% {
      transform: translateX(600px) rotate(45deg);
    }
  }
}

/* jocuricastiga_home_sect_1 */

.jocuricastiga_home_sect_1 {
  background: url(/jocuricastiga-img/jocuricastiga-home-sect-1-bg.webp);

  padding: 115px 0 185px;
  background-position: right;
  background-repeat: no-repeat;
  background-size: cover;
}

.jocuricastiga_home_sect_1_container {
  max-width: 675px;
}

.jocuricastiga_home_sect_1 .btn {
  max-width: 250px;
}

@media (max-width: 991px) {
  .jocuricastiga_home_sect_1 {
    padding: 40px 0;
  }
}

/* jocuricastiga_home_sect_2 */

.jocuricastiga_home_sect_2 {
  padding: 80px 0;
}

.jocuricastiga_home_sect_2_ticket {
  padding: 49px 82px;
  background: url(/jocuricastiga-img/jocuricastiga-home-sect-2-ticket.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  height: 100%;
  max-width: 744px;
}

.jocuricastiga_home_sect_2_ticket_text {
  padding: 52px 48px;
  border: 10px solid #b0a3cc;
  border-radius: 5px;
  background-color: #fff;
}

.jocuricastiga_home_sect_2_ticket p {
  color: var(--black);
}

@media (max-width: 676px) {
  .jocuricastiga_home_sect_2 {
    padding: 40px 0;
  }

  .jocuricastiga_home_sect_2_ticket_text {
    padding: 10px;
    border: 5px solid #b0a3cc;
  }
}

@media (max-width: 535px) {
  .jocuricastiga_home_sect_2_ticket {
    padding: 49px 50px;
  }
}
@media (max-width: 460px) {
  .jocuricastiga_home_sect_2_ticket {
    background: url(/jocuricastiga-img/jocuricastiga-home-sect-2-ticket-mob.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }
  .jocuricastiga_home_sect_2_ticket {
    padding: 49px 90px;
  }
}

@media (max-width: 420px) {
  .jocuricastiga_home_sect_2_ticket {
    padding: 49px 70px;
  }
  .jocuricastiga_home_sect_2 .m-b-32 {
    margin-bottom: 24px;
  }
}

@media (max-width: 390px) {
  .jocuricastiga_home_sect_2_ticket {
    padding: 49px 55px;
  }
}

@media (max-width: 330px) {
  .jocuricastiga_home_sect_2_ticket {
    padding: 30px 35px;
  }
}

/* jocuricastiga_home_sect_3 */
.jocuricastiga_home_sect_3 {
  padding: 80px 0;
}

.jocuricastiga_home_sect_3_card {
  padding: 20px;
  border-radius: 30px;
  border: 2px solid #fede15;
  background: #b0a3cc;
  color: var(--black);
}

.jocuricastiga_home_sect_3_card img {
  width: 100%;
  max-width: 150px;
  height: 52px;
}

.jocuricastiga_home_sect_3_card .btn {
  max-width: 242px;
}

@media (max-width: 991px) {
  .jocuricastiga_home_sect_3 {
    padding: 40px 0;
  }
  .jocuricastiga_home_sect_3_card {
    flex-direction: column;
    padding: 10px;
  }
  .jocuricastiga_home_sect_3_card h3 {
    display: none;
  }
}

/* jocuricastiga_home_sect_4 */
.jocuricastiga_home_sect_4 {
  padding: 80px 0;
}

@media (max-width: 991px) {
  .jocuricastiga_home_sect_4 {
    padding: 40px 0;
  }
  .jocuricastiga_home_sect_4_container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .jocuricastiga_home_sect_4_img {
    width: 300px;
  }
}

/* ---- reset ---- */
body {
  margin: 0;
  font: normal 75% Arial, Helvetica, sans-serif;
}
canvas {
  display: block;
  vertical-align: bottom;
} /* ---- particles.js container ---- */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100vh;
  background-color: #1d1d1d;
  background-image: url("");
  background-repeat: no-repeat;
  background-size: 20%;
  background-position: 50% 50%;
  z-index: 1;
} /* ---- stats.js ---- */
.count-particles {
  background: #000022;
  position: absolute;
  top: 48px;
  left: 0;
  width: 80px;
  color: #13e8e9;
  font-size: 0.8em;
  text-align: left;
  text-indent: 4px;
  line-height: 14px;
  padding-bottom: 2px;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: bold;
}
.js-count-particles {
  font-size: 1.1em;
}
#stats,
.count-particles {
  -webkit-user-select: none;
  margin-top: 5px;
  margin-left: 5px;
}
#stats {
  border-radius: 3px 3px 0 0;
  overflow: hidden;
}
.count-particles {
  border-radius: 0 0 3px 3px;
}

section,
footer {
  position: relative;
  z-index: 2;
}
