/*--------------------------------------------------------------
# Основные стили
--------------------------------------------------------------*/
body, html {
  font-family: "Ubuntu", sans-serif;
  color: #fff;
  background: linear-gradient(rgba(0, 0, 0, 0.5)), url("/assets/img/bg.webp") top right repeat-y;
  background-size: cover;
  overflow-x: hidden;
}

a:not(.btn-my):not(.nav-link) {
  color: #ffb62e;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

a:hover:not(.btn-my):not(.nav-link) {
  color: #e09100;
  text-decoration: none;
  font-weight: 450;
  text-shadow: 0px 0px 3px #ffb62e;
}

.form-control:focus, .form-select:focus, pincode-input.pincode-input--focused, .pincode-input:focus {
  border-color: #fff !important;
  box-shadow: 0 0 10px #fff !important;
  color: #fff;
}

.form-control, .form-select {
  color: #b8b8b8;
  background-color: transparent !important;
  padding: 10px 20px;
}

.pincode-input.pincode-input--filled {
  border-color: #ffb62e;
}

input[type="checkbox"] {
  accent-color: #ffb62e;
}

input[type="checkbox"]:hover {
  box-shadow: 0 0 10px #ffb62e;
}

.form-select {
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23adb5bd' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
}

.form-select:disabled {
  --bs-form-select-bg-img: none !important;
}

.form-control::placeholder, .form-select::placeholder {
  color: #a8a8a8;
}

.select2-container .selection {
	display: block;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #b8b8b8;
	background-color: transparent !important;
	background-clip: padding-box;
	border: var(--bs-border-width) solid var(--bs-border-color);
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border-radius: var(--bs-border-radius);
	transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  padding: 10px 20px;
}

.select2-container--default.select2-container--disabled {
  .selection {
    border: none;
    padding: 0 !important;
  }

  .select2-selection--single .select2-selection__arrow {
    display: none !important;
  }

  .select2-selection__rendered {
    padding: 0 !important;
  }
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 25%;
}

.select2-selection--single {
  color: #b8b8b8 !important;
	background-color: transparent !important;
  border: none !important;
}

.select2-selection__rendered {
  color: #b8b8b8 !important;
}

.select2-dropdown {
  background: rgba(33, 33, 33, 0.3);
  color: #fff;
  backdrop-filter: blur(10px);
  border-bottom-left-radius: var(--bs-border-radius);
  border-bottom-right-radius: var(--bs-border-radius);
  padding: 10px 10px;
  border: 1px solid #fff;
}

.select2-results__option--selectable {
  border-radius: var(--bs-border-radius);
  margin-top: 0.5rem;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  border: 1px solid #f59f00 !important;
  color: #f59f00 !important;
  background: transparent;
  box-shadow: 0 0 5px #ffb62e;
}

.select2-container--default .select2-results__option--selected {
  background: transparent;
  border: 1px solid #ffb62e;
  color: #ffb62e;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  background: transparent;
  border-radius: var(--bs-border-radius);
  padding: 5px 5px;
}

.select2-container--default .select2-results > .select2-results__options {
  padding: 5px 5px;
}

.btn-my {
  background: transparent;
  padding: 10px 15px;
  border-radius: 15px;
  transition: 0.3s !important;
  color: #fff;
  border: 1px solid #fff;
  font-size: 1.2rem;
  font-weight: 400;
}

.btn-my:hover, .btn-my:active {
  font-size: 1.25rem;
  font-weight: 500;
  color: #ffb62e !important;
  border: 1px solid #ffb62e;
  box-shadow: 0px 0px 10px #ffb62e;
}


.btn-my-red {
  color: #fff;
  border: 1px solid #cc8c7c;
}

.btn-my-red:hover, .btn-my-red:active {
  color: #bc6852 !important;
  border: 1px solid #bc6852;
  background: rgba(204, 140, 124, 0.1);
  box-shadow: 0px 0px 10px #bc6852;
}

.btn-my-green {
  color: #fff;
  border: 1px solid #95d38e;
}

.btn-my-green:hover, .btn-my-green:active {
  color: #6ec365 !important;
  border: 1px solid #6ec365;
  background: rgba(149, 211, 142, 0.1);
  box-shadow: 0px 0px 10px #6ec365;
}

.card, .list-group-item {
  background: rgba(33, 33, 33, 0.3);
  color: #fff;
  backdrop-filter: blur(10px);
}

.text-muted {
  color: #c4c4c4 !important;
}

.client-off-input {
  border: none !important;
  padding: 0 !important;
}

.client-off-input:active, .client-off-input:hover, .client-off-input:focus {
  border: none !important;
  padding: 0;
  background: transparent !important;
  box-shadow: none !important;
  color: #b8b8b8 !important;
}

.onlyedit {
  display: none;
}

.animateScrollTo {
  transition: all 0.1s;
}

.animateScrollTo-start {
  transform: scale(1.1) !important;
}

.animateScrollTo-full {
  transform: scale(1) !important;
}

.section-bg {
  min-height: 100vh;
}

.modal-content {
  background: rgba(33, 33, 33, 0.3);
  backdrop-filter: blur(10px);
}

.modal[style*="display: block"] {
  background: rgba(33, 33, 33, 0.2);
  backdrop-filter: blur(10px);
}


.blur-bg {
  background: rgba(33, 33, 33, 0.2);
  backdrop-filter: blur(10px);
}

.blur-text {
  text-shadow: 0 0 10px #fff;
  color: #fff;
}

.blur-text.orange {
  text-shadow: 0 0 10px #ffb62e;
  color: #ffb62e;
}

.blur-text.red {
  text-shadow: 0 0 10px #cc8c7c;
  color: #cc8c7c;
}

.modal-header {
  h4 {
    text-shadow: 1px 1px 3px #fff;
  }
}

.help-button {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #ffb62e;
  color: white;
  border: none;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  display: inline-block;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background-color 0.3s;
}

.help-button:hover {
  background-color: #f59f00;
  box-shadow: 0px 0px 10px rgb(255, 166, 26);;
}

.help-button::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 10px;
  padding: 10px 15px;
  background-color: #212121;
  color: #fff;
  border-radius: var(--bs-card-border-radius);
  font-size: 13px;
  font-weight: normal;
  white-space: normal;
  width: 200px;
  word-wrap: break-word;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  border: 1px solid #ffb62e;
  box-shadow: 0 0 10px #ffb62e;
}

.help-button:hover::after {
  opacity: 1;
  visibility: visible;
}

.only-mobile {
  display: none;
}

/*--------------------------------------------------------------
# Кнопка "Наверх"
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: transparent;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.3s !important;
  border: 1px solid #fff;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
  transition: all 0.3s !important;
}

.back-to-top:hover {
  background: transparent;
  color: #ffb62e !important;
  border: 1px solid #ffb62e;

  i {
    color: #ffb62e !important;
  }
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

.achievementTitle {
  color: #ffb62e;
  font-weight: 500;
  text-shadow: 0 0 5px #ffb62e;
}
.achievementDesc {
  color: #fff;
}

.achievementPoints {
  color: #6ec365;
}

/*--------------------------------------------------------------
# Шапка
--------------------------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 9997;
  transition: all 0.5s;
  padding: 15px;
  overflow-y: auto;
}

@media (max-width: 991px) {
  #header {
    width: 300px;
    background: rgba(33, 33, 33, 0.2);
    backdrop-filter: blur(10px);
    border-right: 1px solid #e6e9ec;
    left: -300px;
  }
}

/*--------------------------------------------------------------
# Меню навигации
--------------------------------------------------------------*/
.nav-menu {
  padding: 0;
  display: block;
}

.nav-menu * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu>ul>li {
  position: relative;
  white-space: nowrap;
}

.nav-menu a,
.nav-menu a:focus {
  display: flex;
  align-items: center;
  color: #d1d1d1;
  padding: 10px 18px;
  margin-bottom: 8px;
  transition: 0.3s;
  font-size: 15px;
  border-radius: 15px;
  background: rgba(33, 33, 33, 0.2);
  backdrop-filter: blur(10px);
  height: 56px;
  width: 100%;
  overflow: hidden;
  transition: 0.3s;
  border: 1px solid #454545;
}

.nav-menu a i,
.nav-menu a:focus i {
  font-size: 20px;
}

.nav-menu a span,
.nav-menu a:focus span {
  padding: 0 5px 0 7px;
  color: #fff;
}

@media (min-width: 992px) {
  .nav-menu a,
  .nav-menu a:focus {
    width: 56px;
  }

  .nav-menu a span,
  .nav-menu a:focus span {
    display: none;
    color: #ffb62e;
  }
}

.nav-menu a:hover,
.nav-menu .active,
.nav-menu .active:focus,
.nav-menu li:hover>a {
  color: #ffb62e;
  background: rgba(33, 33, 33, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid #ffb62e;
  font-weight: 450;
}

.nav-menu a:hover span,
.nav-menu .active span,
.nav-menu .active:focus span,
.nav-menu li:hover>a span {
  color: #ffb62e;
}

.nav-menu a:hover,
.nav-menu li:hover>a {
  width: 100%;
  color: #ffb62e;
  box-shadow: 0px 0px 10px #f59f00;
  font-weight: 550;
}

.nav-menu a:hover span,
.nav-menu li:hover>a span {
  display: block;
}

/* Мобильное меню */
.mobile-nav-toggle {
  position: fixed;
  right: 10px;
  top: 10px;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 28px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 0;
  cursor: pointer;
  border-radius: 50px;
  padding: 20px 10px 20px 10px;
}

.mobile-nav-toggle i {
  color: #45505b;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active #header {
  left: 0;
}

.mobile-nav-active .mobile-nav-toggle {
  color: #fff;
  background-color: #ffb62e;
}

/*--------------------------------------------------------------
# Общие стили разделов
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  color: #fff;
  text-shadow: 0px 0px 5px #fff;
}

.section-title h2::before {
  content: "";
  position: absolute;
  display: block;
  width: 120px;
  height: 1px;
  background: #ddd;
  bottom: 1px;
  left: calc(50% - 60px);
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 3px;
  background: #ffb62e;
  bottom: 0;
  left: calc(50% - 20px);
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Главный баннер
--------------------------------------------------------------*/
#hero {
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  position: relative;

}

@media (min-width: 992px) {
  #hero {
    padding-left: 160px;
  }
}

@media (max-width: 660px) {
  #hero {
    background-position: 75% 50%;
  }
}

#hero::before {
  content: "";
  background: rgba(33, 33, 33, 0.2);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

#hero .container {
  z-index: 1001;
}

#hero h1 {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
  line-height: 56px;
  color: #fff;
  text-shadow: 0px 0px 10px #fff;
}

#hero p {
  color: #d1d1d1;
  margin: 15px 0 0 0;
  font-size: 26px;
  font-family: "Raleway", sans-serif;
}

#hero p span {
  color: #ffb62e;
  letter-spacing: 1px;
}

#hero a {
  color: #d1d1d1;
  font-weight: 501;
  transition: color 0.3s ease-in-out;
}

#hero a:hover {
  color: #d28a19;
}

@media (max-width: 1285px) {
  #hero {
    text-align: center;
  }

  #hero h1 {
    font-size: 32px;
    line-height: 36px;
  }

  #hero p {
    margin-top: 10px;
    font-size: 20px;
    line-height: 24px;
  }

  #hero img {
    margin: 0 auto;
  }

  .statistics {
    margin-top: 1rem !important;
  }

  #hero > .container .row {
    margin: 0 auto;

    .col-lg-4 {
      flex: none !important;
      width: 100% !important;
    }
  }
}


/*--------------------------------------------------------------
# Раздел "Статистика"
--------------------------------------------------------------*/
.purecounterplus::after {
  content: '+';
}
.statistics .count-box {
  padding: 30px 20px 25px 20px;
  margin-top: 30px;
  width: 100%;
  position: relative;
  text-align: center;
  background: rgba(33, 33, 33, 0.3);
  color: #fff;
  backdrop-filter: blur(10px);
  border-radius: var(--bs-border-radius);
}

.statistics .count-box i {
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  background: #ffb62e;
  box-shadow: 0 0 5px #ffb62e;
  color: #fff;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
}

.statistics .count-box span {
  font-size: 36px !important;
  display: block;
  font-weight: 600;
  color: #fff;
}

.statistics .count-box p {
  padding: 0;
  margin: 0;
  font-size: 14px !important;
  font-weight: 501;
  text-align: center;
}

/*--------------------------------------------------------------
# Подвал
--------------------------------------------------------------*/
#footer {
  background: linear-gradient(rgba(33, 33, 33, 0.2));
  background-size: cover;
  backdrop-filter: blur(10px);
  color: #d1d1d1;
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
}

#footer .social-links {
  margin: 0 0 40px 0;
}

#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #ffb62e;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .social-links a:hover {
  background: transparent;
  color: #ffb62e !important;
  border: 1px solid #ffb62e;
  text-decoration: none;
}

#footer .copyright {
  margin: 0 0 5px 0;
}


/*--------------------------------------------------------------
# Страница аккаунта
--------------------------------------------------------------*/

.level-container {
  text-align: center;

  .level-header {
      display: flex;
      justify-content: space-between;
      margin-bottom: 10px;
      font-weight: bold;
  }

  .level-title {
      font-size: 16px;
      text-shadow: 0 0 3px #fff;
  }

  .level-value {
      font-size: 18px;
      color: #f1c40f;
      text-shadow: 0 0 3px #f1c40f;
  }

  .exp-bar {
      height: 20px;
      background-color: #2c3e50;
      border-radius: 10px;
      overflow: hidden;
      margin-bottom: 8px;
      box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
  }

  .exp-progress {
      height: 100%;
      background: linear-gradient(rgb(255, 166, 26) 35%,rgb(212, 69, 73));
      border-radius: 10px;
      transition: width 1.5s ease-in-out;
      position: relative;
      overflow: hidden;
  }

  .exp-progress::after {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(90deg, 
                      rgba(255, 255, 255, 0.1) 0%, 
                      rgba(255, 255, 255, 0.3) 50%, 
                      rgba(255, 255, 255, 0.1) 100%);
      animation: shine 2s infinite;
      box-shadow: 0px 0px 5px #212121;
  }

  @keyframes shine {
      0% { transform: translateX(-100%); }
      100% { transform: translateX(100%); }
  }

  .exp-info {
      display: flex;
      justify-content: space-between;
      font-size: 14px;
      color: #ecf0f1;
  }

  .exp-need {
    color: #b8b8b8;
  }

  .exp-current {
      color: #95d38e;
      text-shadow: 0 0 3px #95d38e;
  }

  .exp-required {
      color: #cc8c7c;
      text-shadow: 0 0 3px #cc8c7c;
  }
}


.account-containter {
  .card-body h4 {
    color: transparent;
    background: linear-gradient(rgb(255, 166, 26) 35%,rgb(212, 69, 73));
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 1px 1px 3px rgb(255, 166, 26);
  }

  .account-label {
    font-weight: 450;

    i {
      margin-right: 3px;
    }
  }

  .btn-account-img-edit {
    position: absolute; 
    bottom: 50%; 
    left: 50%; 
    transform: translateX(-50%) translateY(50%); 
    opacity: 0; 
    transition: opacity 0.3s ease; 
    cursor: pointer;
  }

  .account-img-container {
    position: relative; 
    display: inline-block;
    border-radius: 2rem;
  }

  .account-img {
    border-radius: 2rem;
    background-size: cover; 
    background-position: 50%;
    width: 150px;
    height: 150px;
  }

  .account-img-container:hover {
    .account-img {
      opacity: 0.2;
    }
    .btn-account-img-edit {
      opacity: 1;
    }
  }
}

#accimgPreview {
  margin: 0 auto;
  margin-bottom: 15px;

  background-size: cover; 
  background-position: 50%;
  width: 250px;
  height: 250px;
}


.achievement-card {
  .card-img-top {
    background-color: #55595c;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;

    i {
      color: #eceeef; 
      font-size: 3em;
    }
  }

  .card-body {
    h5 {
      margin-bottom: 0;
    }
    .card-text {
      color: #c4c4c4;
    }

    .text-body-secondary {
      color: #6d7176 !important;
      text-align: end;
    }

    .add-exp-text {
      color: #6ec365;
      margin-bottom: 0;
      text-shadow: 0 0 3px #6ec365;
    }
  }

  .secret-text {
    display: none;
  }
}

.achievement-card.received {
  box-shadow: 0 0 5px #ffb62e;
  border: 1px solid #ffb62e;

  .card-img-top {
    background-color: #ffb62e;
    text-shadow: 0 0 3px #fff;
  }
}

.achievement-card.secret {
  box-shadow: 0 0 10px #be7be0 !important;
  border: 1px solid #be7be0 !important;

  .card-img-top {
    background-color: #be7be0 !important;
  }

  .secret-text {
    color: #be7be0 !important;
    text-shadow: 0 0 3px #be7be0;
    text-align: center;
    display: block;
  }
}

@media (min-width: 576px) and (max-width: 1199px) {
  .achievement-card .card-body > .d-flex {
    display: block !important;

    .text-body-secondary {
      display: block;
      text-align: center;
      line-height: 1rem;
    }
  }

  .add-exp-text {
    text-align: center;
  }
}

#security-info .row {
  .column-middle * {
    margin-bottom: 0;
  }

  div[class^="col-"] {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  #security-info .row {
    display: block;

    div[class^="col-"] {
      width: 100%;
    }

    .column-middle {
      text-align: center;
      margin: 1.2rem 0 1.2rem 0;

      input {
        text-align: center;
      }
    }

    .column-end > button {
      width: 100%;
    }
  }
}


#sessions {
  .row {
    div[class^="col-"] {
      color: #c4c4c4 !important;
      line-height: 1rem;
    }
    h5 {
      color: white !important;
      margin-bottom: 0;
    }
  }
}

/*--------------------------------------------------------------
# Мобильные устройства
--------------------------------------------------------------*/

@media (pointer: coarse)  {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }

	.blur-bg, .card, .list-group-item {
    backdrop-filter: none !important;
    background: rgba(33, 33, 33, 0.6);
  }

  .nav-menu a:hover,
  .nav-menu .active,
  .nav-menu .active:focus,
  .nav-menu li:hover>a {
    backdrop-filter: none !important;
    background: rgba(33, 33, 33, 0.6);
  }

  #header, .nav-menu a, .nav-menu a:focus, .modal[style*="display: block"], .modal-content, .statistics .count-box, .select2-dropdown {
    backdrop-filter: none !important;
    background: rgba(33, 33, 33, 0.9);
  }

  #footer {
    backdrop-filter: none !important;
  }

  .blur-bg {
    background: transparent;
  }

  .preloader {
    backdrop-filter: none !important;
    background: rgba(33, 33, 33) !important;

    .spinner1 {
      backdrop-filter: none !important;
      background: rgba(33, 33, 33) !important;
      background-image: linear-gradient(rgba(33, 33, 33, 1)) !important;
    }
  }
}


@media screen and (max-width: 991px) {
  .pincode-input {
    width: 40px;
    height: 40px;
  }

  .pincode-input:not(:last-child) {
    margin-right: 5px;
  }

  .row:has(.pincode-input) {
    padding: 0;
  }

  .only-mobile {
    display: initial;
  }

  .no-mobile {
    display: none;
  }
}