@font-face {
  font-family: Inter;
  src: url("../assets/fonts/inter_extrabold.woff2");
  font-display: swap;
  font-weight: 800;
}

@font-face {
  font-family: Inter;
  src: url("../assets/fonts/inter_regular.woff2");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: Inter;
  src: url("../assets/fonts/inter_semibold.woff2");
  font-display: swap;
  font-weight: 600;
}

@font-face {
  font-family: Montserrat;
  src: url("../assets/fonts/montserrat-bold.woff2");
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../assets/fonts/opensans-semibold.woff2");
  font-display: swap;
}


/* ===== Переменные ===== */
:root {
  --container-width: 1240px;
  --container-step: 28px;
  --container-step-tablet: 26px;
  --container-step-mobile: 24px;
  --container: calc(var(--container-width) + (var(--container-step) * 2));
  --bg: #171717;
  --button: #ffbb61;
  --text-gray: #4d4d4d;
  --black-text: #2f2f2f;
  --white: #fff;
  --card: #100e12;
  --text-gray: #d9d9d9;
  --font-family: "Inter", sans-serif;
  --second-family: "Montserrat", sans-serif;
  --font3: "Open Sans", sans-serif;
}

/* ===== Базовые ===== */
body {
  --bg: #071a1b;
  --button: #f97316;
  --card: #0b2a2c;
  --text-gray: #a7c5c7;
  --black-text: #161616;
  --white: #f8fafc;

  margin: 0;
  background:
    radial-gradient(circle at 10% 15%, rgba(56,189,248,0.26), transparent 52%),
    radial-gradient(circle at 90% 20%, rgba(249,115,22,0.18), transparent 55%),
    url("../assets/images/home_page_bg.webp");
  background-size: cover;
  background-attachment: fixed;
}

.nx-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-step);
  display: flex;
  flex-direction: column;
  gap: 40px;
  flex-wrap: wrap;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .nx-container {
    padding: 0 var(--container-step-tablet);
  }
}

@media (max-width: 600px) {
  .nx-container {
    padding: 0 var(--container-step-mobile);
  }
}

h1 {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 38px;
  text-transform: uppercase;
  color: var(--white);
  margin: 0px;
}

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

@media (max-width: 600px) {
  h1 {
    font-size: 24px;
    line-height: 117%;
  }
}

h1 .nx-accent{
  background: linear-gradient(180deg, #38bdf8 0%, #f97316 100%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

h2 {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 28px;
  line-height: 120%;
  text-transform: uppercase;
  text-align: center;
  color: var(--white);
  margin: 0px;
}

h3 {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 24px;
  line-height: 117%;
  text-transform: uppercase;
  text-align: center;
  color: var(--white);
  margin: 0px;
}

p {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 141%;
  color: var(--white);
  margin: 0px;
}

ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin: 0px;
  padding: 0px;
}

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

section {
  margin-bottom: 40px;
}

.nx-btn{
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 17px;
  line-height: 112%;
  color: var(--black-text);
  border-radius: 10px;
  padding: 16px 0px;
  width: 100%;
  background: var(--button);
  border: 0px;
}

.nx-border{
  position: relative;
}

.nx-border::before{
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  background: linear-gradient(to bottom, #38bdf8 0%, #f97316 100%);
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
          border-radius: 24px;
}


.nx-header{
  padding: 11.17px 0px;
  background: rgba(7, 26, 27, 0.92);
}

.nx-header__inner{
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.nx-brand{
  display: flex;
  align-items: center;
  gap: 12px;
}

.nx-brand__name{
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--white);
  text-transform: uppercase;
}

@media (max-width: 600px){
  .nx-brand__name{ display: none; }
}


.nx-nav__list{
  flex-direction: row;
  align-items: center;
  gap: 24px;
  font-family: var(--font3);
  font-weight: 600;
  font-size: 17px;
  line-height: 141%;
  color: var(--white);
}

.nx-nav__actions{
  display: flex;
  gap: 8px;
}

.nx-btn--signin{
  padding: 12px 16px;
  padding-top: 12px;
  padding-bottom: 12px;
  box-sizing: border-box;
  border: 0px;
}

.nx-btn--create{
  border: 1px solid var(--button);
  background: rgba(255, 187, 97, 0.24);
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 17px;
  line-height: 112%;
  color: var(--white);
  padding: 12px 16px;
  box-sizing: border-box;
}

.nx-hero{
  padding-top: 9px;
  padding-bottom: 11px;
}

.nx-hero__grid{
  flex-direction: row;
  justify-content: space-between;
  align-items: end;
  flex-wrap: nowrap;
}

.nx-hero__copy{
  max-width: 612px;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 16px;
  flex: 1;
}

.nx-countdown{
  display: flex;
  padding: 32px;
  width: 100%;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(42.79999923706055px);
  background: var(--card);
  border-radius: 26px;
  gap: 10px;
}

.nx-countdown::before{
  border-radius: 26px;
}

.nx-countdown__row{
  display: flex;
  justify-content: center;
  max-width: 380px;
  width: 100%;
  gap: 20px;
}

.nx-countdown__cell{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.nx-countdown__label{
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 17px;
  line-height: 141%;
  text-align: center;
  color: var(--text-gray);
}

.nx-countdown__value{
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 24px;
  line-height: 117%;
  text-transform: uppercase;
  text-align: center;
  color: #feffff;
  background: rgba(56, 189, 248, 0.32);
  border-radius: 13px;
}

.nx-hero__art{
  max-width: 382px;
  height: 492px;
  width: 100%;
  min-width: 0px;
  flex: 1;
}










.lottery-list{
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.lottery-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  background: var(--card);
  padding: 16px;
  flex: 1;
  box-sizing: border-box;
  border-radius: 24px;
  justify-content: space-between;
}

.lottery-item::before{
  border-radius: 24px;
}

.lottery-body{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
}

.lottery-content{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lottery-meta{
  gap: 16px;
}

.lottery-meta-item{
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 17px;
  line-height: 141%;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nx-steps{
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.nx-steps__item{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  max-width: 292px;
  width: 100%;
  border-radius: 24px;
  padding: 16px;
  box-sizing: border-box;
  background: var(--card);
}

.nx-steps__item::before{
  border-radius: 24px;
}

.nx-steps__body{
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 16px;
}

.site-footer{
  --bg: #171717;
  --button: #ffbb61;
  --card: #100e12;
  --text-gray: #d9d9d9;
  --black-text: #2f2f2f;
  --white: #fff;

  padding-top: 20px;
  padding-bottom: 9px;
  background: #100606;
}

.footer-container{
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  gap: 8px;
}

.footer-regulatory{
  background: #1a121e;
  border-radius: 24px;
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-license-list{
  flex-direction: row;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  line-height: 200%;
  text-align: center;
  color: var(--text-gray);
  gap: 20px;
  list-style: disc;
  flex-wrap: wrap;
  row-gap: 10px;
  max-width: 950px;
  align-self: center;
  justify-content: start;
}

.footer-responsible-gaming{
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
}

.footer-responsible-links{
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 17px;
  line-height: 141%;
  color: #ffbd43;
  flex-direction: row;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-disclaimer{
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;   
  text-align: center;
  color: #878787;
}

.footer-badges{
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.site-footer h3{
  color: #ffbd43;
}

.nx-about{
  margin-top: 40px;
}

.nx-about__layout{
  display: flex;
  gap: 24px;
  padding: 24px 0px;
  align-items: center;
}

.nx-about__media{
  flex: 1;
  min-width: 0px;
}

.nx-about__copy{
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

.nx-about__heading{
  text-align: start;
}

.nx-values__grid{
  display: flex;
  gap: 24px;
}

.nx-card{
  flex: 1;
  padding: 16px;
  box-sizing: border-box;
  text-align: center;
  border-radius: 24px;
  gap: 16px;
  background: var(--card);
}

.nx-card::before{
  border-radius: 24px;
}








.nx-contact{
  margin-top: 40px;
}

.nx-contact__grid{
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.nx-contact__info{
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--card);
}

.nx-contact__label{
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 17px;
  line-height: 112%;
  color: var(--white);
}

.nx-contact__list{
  gap: 16px;
}

.nx-contact__item{
  display: flex;
  gap: 16px;
  align-items: center;
}

.nx-form{
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.nx-form__field{
  padding: 1px;
}

.nx-form__input{
  width: 100%;
  box-sizing: border-box;
  border: 0px;
  height: 100%;
  padding: 16px;
  border-radius: 12px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 17px;
  line-height: 141%;
  color: var(--black-text);
}

.nx-form__textarea{
  width: 100%;
  box-sizing: border-box;
  border: 0px;
  min-height: 100%;
  padding: 16px;
  border-radius: 12px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 17px;
  line-height: 141%;
  color: var(--black-text);
  height: 159px;
}

.nx-form__submit{
  background: var(--button);
  border: 0px;
  padding: 16px;
  width: 100%;
  border-radius: 10px;
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 17px;
  line-height: 112%;
  color: var(--black-text);
}






.nx-policy{
  margin-top: 40px;
}

.nx-policy__heading{
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 17px;
  line-height: 141%;
  text-align: center;
  color: var(--white);
  gap: 16px;
  flex-wrap: wrap;
}

.nx-policy__content{
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 24px;
}

.nx-policy__content h3{
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 17px;
  line-height: 112%;
  color: var(--white);
  text-align: start;
  text-transform: none;
}

.nx-policy__content ul{
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 17px;
  line-height: 141%;
  color: var(--white);
  list-style: disc;
  padding-left: 25px;
}

.nx-policy__content p{
  text-align: start;
}

.nx-policy__block{
  display: flex;
  flex-direction: column;
  gap: 16px;
}


@media screen and (max-width: 991px) {
  .nx-hero__grid{
    justify-content: center;
    flex-wrap: wrap;
  }

  .nx-hero__art{
    height: auto;
  }

  .nx-about__layout{
    flex-direction: column-reverse;
  }

  .nx-about__media{
    width: 100%;
  }
}

@media screen and (max-width: 800px) {
  .nx-hero__art{
    display: none;
  }
}

@media screen and (max-width: 660px) {
  .nx-steps__item{
    width: 100%;
    max-width: none;
  }
}

@media screen and (max-width: 600px) {
  .nx-countdown__value{
    width: 60px;
    height: 60px;
    font-family: var(--font-family);
    font-weight: 800;
    font-size: 17px;
    line-height: 112%;
    text-align: center;
    color: #feffff;
  }

  .nx-countdown__title{
    font-family: var(--font-family);
    font-weight: 800;
    font-size: 17px;
    line-height: 112%;
    text-align: center;
    color: var(--white);
  }

  .nx-countdown{
    padding: 16px 8px;
  }

  .nx-countdown__row{
    gap: 8px;
  }

  .nx-values__grid{
    flex-direction: column;
  }

  .footer-badges{
    justify-content: center;
    column-gap: 50px;
  }

  .footer-responsible-links{
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .nx-contact__grid{
    flex-direction: column-reverse;
  }
}



.auth-overlay{
  position: fixed;
  top: 0px;
  width: 100%;
  height: 100vh;
  align-items: center;
  display: flex;
  background: #0000009e;
}

.auth-container{
  width: 100%;
  align-items: center;
  max-width: 656px;
}

.auth-wrapper{
  max-width: 600px;
  width: 100%;
  padding: 64px;
  background: var(--bg);
  border-radius: 35px;
  box-sizing: border-box;
}

.auth-form{
  gap: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.auth-fields{
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 12px;
}

.auth-input{
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 17px;
  line-height: 141%;
  color: #363636;
  padding: 15.5px 24px;
  border: 1px solid #e0e0e0;
  border-radius: 16px;
  background: var(--white);
}

.auth-button{
  background: var(--button);
  padding: 16px;
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 17px;
  line-height: 112%;
  color: var(--black-text);
  border-radius: 10px;
  border: 0px;
}

.auth-footer-text{
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 17px;
  line-height: 141%;
  text-align: center;
  color: var(--white);
}

.auth-link-button{
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 17px;
  line-height: 112%;
  text-align: center;
  color: var(--button);
  background: none;
  border: 0px;
}

.auth-header{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-overlay {
  display: none;
}

.auth-overlay.active {
  display: flex;
  justify-content: center;
}



.auth-form {
  display: none;
}

.auth-form.active {
  display: flex;
}


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

@media screen and (max-width: 600px) {
  .auth-wrapper{
    padding: 32px 16px;
  }
}



/* ===== Burger menu ===== */
.nx-burger {
  width: 40px;
  height: 40px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

.nx-burger span {
  position: absolute;
  left: 5px;
  right: 5px;
  height: 3px;
  background: var(--button);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.nx-burger span:nth-child(1) {
  top: 11px;
}

.nx-burger span:nth-child(2) {
  top: 19px;
}

.nx-burger span:nth-child(3) {
  top: 27px;
}

/* Крестик */
.nx-burger.active span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

.nx-burger.active span:nth-child(2) {
  opacity: 0;
}

.nx-burger.active span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}


@media screen and (max-width: 768px) {
  .nx-burger {
    display: block;
  }

  .nx-nav {
    position: fixed;
    top: 62px;
    left: 0;
    width: 100%;
    background: rgba(7, 26, 27, 0.92);
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    z-index: 100;
  }

  .nx-nav.active {
    transform: translateY(0);
  }

  .nx-nav__list {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }

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

  .nx-nav__actions button {
    width: 100%;
  }
}


.message{
  display: none;
}

.active .message{
  display: block;
}


.nx-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Cookie & Age Popups ===== */
.nx-popover {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.nx-popover.active {
  display: flex;
}

.nx-popover__card {
  background: var(--bg);
  padding: 32px;
  border-radius: 24px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nx-popover__card h3 {
  color: #f97316;
}

.nx-popover__card p {
  font-size: 16px;
  line-height: 140%;
}

.nx-brand__logo {
  width: 60px;
}