/* Westland Project — логотип в неоновой рамке */
.logo-westland {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(101, 43, 251, 0.85);
  background: rgba(8, 6, 18, 0.35);
  box-shadow:
    0 0 8px rgba(101, 43, 251, 0.45),
    0 0 18px rgba(101, 43, 251, 0.28),
    0 0 32px rgba(101, 43, 251, 0.14),
    inset 0 0 12px rgba(101, 43, 251, 0.12);
  transition: box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.logo-westland__img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  pointer-events: none;
}

.logo-westland::before,
.logo-westland::after {
  content: none;
  display: none;
}

.logo-westland:hover {
  border-color: rgba(140, 90, 255, 1);
  background: rgba(101, 43, 251, 0.12);
  box-shadow:
    0 0 12px rgba(101, 43, 251, 0.85),
    0 0 28px rgba(101, 43, 251, 0.55),
    0 0 48px rgba(101, 43, 251, 0.3),
    inset 0 0 18px rgba(101, 43, 251, 0.25);
}

/* на светлой шапке (новости и т.п.) — тёмный логотип */
.header-intro .logo-westland {
  background: rgba(101, 43, 251, 0.06);
  border-color: rgba(101, 43, 251, 0.7);
  box-shadow:
    0 0 10px rgba(101, 43, 251, 0.25),
    0 0 20px rgba(101, 43, 251, 0.12);
}

.header-intro .logo-westland:hover {
  box-shadow:
    0 0 14px rgba(101, 43, 251, 0.45),
    0 0 28px rgba(101, 43, 251, 0.25);
}

.header-intro .logo-westland__img {
  filter: brightness(0);
}

.home-sticky-nav .logo-dark,
.home-sticky-nav .logo-light {
  display: none !important;
}

.header .logo,
.header-main .logo,
.header-intro .logo {
  display: flex;
  align-items: center;
}

/* Активный пункт на intro-страницах (Новости / Мониторинг) */
.header-intro .navigation .nav .active-nav-link a,
.header-intro .navigation .nav .intro-active-link a {
  color: #fff !important;
}

.header-intro .navigation .nav .active-nav-link a::before,
.header-intro .navigation .nav .active-nav-link a::after,
.header-intro .navigation .nav .intro-active-link a::before,
.header-intro .navigation .nav .intro-active-link a::after {
  width: 100% !important;
  background: #652bfb !important;
}

/* Верхнее меню — все названия ЗАГЛАВНЫМИ и всегда белые */
.header .navigation .nav .nav-links a,
.header-main .navigation .nav .nav-links a,
.header-intro .navigation .nav .nav-links a,
.header .navigation .nav .store-link a,
.header-main .navigation .nav .store-link a,
.header-intro .navigation .nav .store-link a,
.home-sticky-nav .navigation .nav .nav-links a,
.home-sticky-nav .navigation .nav .store-link a,
.home-sticky-nav.is-solid .navigation .nav .nav-links a,
.home-sticky-nav.is-solid .navigation .nav .active-nav-link a,
.home-sticky-nav.is-solid .navigation .nav .nav-links a:hover {
  text-transform: uppercase !important;
  color: #fff !important;
  white-space: nowrap;
}

.header .navigation .nav .nav-links a:hover,
.header-main .navigation .nav .nav-links a:hover,
.header-intro .navigation .nav .nav-links a:hover,
.header .navigation .nav .active-nav-link a,
.header-main .navigation .nav .active-nav-link a,
.header-intro .navigation .nav .active-nav-link a,
.header-intro .navigation .nav .intro-active-link a,
.header .navigation .nav .store-link a:hover,
.header-main .navigation .nav .store-link a:hover,
.header-intro .navigation .nav .store-link a:hover {
  color: #fff !important;
}

/* Кнопка кабинета — аккуратно, как на samp-rp (стекло + иконка) */
.header .btn-login a,
.header-main .btn-login a,
.header-intro .btn-login a {
  text-transform: none !important;
  width: auto !important;
  min-width: 0 !important;
  height: 44px !important;
  padding: 0 18px 0 14px !important;
  gap: 8px;
  border-radius: 999px !important;
  background: rgba(18, 24, 36, 0.55) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header .btn-login a::before,
.header-main .btn-login a::before,
.header-intro .btn-login a::before {
  content: "";
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='8' r='3.5' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M5 19.2c1.6-3.2 4-4.7 7-4.7s5.4 1.5 7 4.7' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='8' r='3.5' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M5 19.2c1.6-3.2 4-4.7 7-4.7s5.4 1.5 7 4.7' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.header .btn-login a:hover,
.header-main .btn-login a:hover,
.header-intro .btn-login a:hover {
  background: rgba(101, 43, 251, 0.28) !important;
  border-color: rgba(255, 188, 28, 0.55) !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25) !important;
}

.header .btn-login-profile a,
.header-main .btn-login-profile a,
.header-intro .btn-login-profile a {
  background: rgba(18, 24, 36, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  color: #fff !important;
  box-shadow: none !important;
  width: auto !important;
  height: 44px !important;
  padding: 0 18px 0 14px !important;
  border-radius: 999px !important;
  text-transform: none !important;
  font-size: 13px !important;
}

.header .btn-login-profile a:hover,
.header-main .btn-login-profile a:hover,
.header-intro .btn-login-profile a:hover {
  background: rgba(101, 43, 251, 0.28) !important;
  border-color: rgba(255, 188, 28, 0.55) !important;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.25) !important;
}

/* Акцентные полоски → цвет как у логотипа / Мониторинг */
.header .navigation .nav .nav-links a::before,
.header .navigation .nav .nav-links a::after,
.header-main .navigation .nav .nav-links a::before,
.header-main .navigation .nav .nav-links a::after,
.header-intro .navigation .nav .nav-links a::before,
.header-intro .navigation .nav .nav-links a::after {
  background: #652bfb !important;
}

/* Магазин — обводка цвета логотипа */
.header .navigation .nav .store-link a,
.header-main .navigation .nav .store-link a,
.header-intro .navigation .nav .store-link a {
  border: 3px solid #652bfb !important;
  box-shadow: 0 0 14px rgba(101, 43, 251, 0.35) !important;
}

.header .navigation .nav .store-link a:hover,
.header-main .navigation .nav .store-link a:hover,
.header-intro .navigation .nav .store-link a:hover {
  background: transparent !important;
  border-color: #652bfb !important;
  box-shadow: 0 5px 30px rgba(101, 43, 251, 0.5) !important;
}

.main-content .right-side .title h1::after,
.main-content .right-side .container-btn .btn-video a,
.main-content .right-side .container-btn .btn-video a::before {
  background: #652bfb !important;
  box-shadow: 0 0 20px rgba(101, 43, 251, 0.55) !important;
}

.main-content .right-side .online-block .icon-us {
  background: linear-gradient(135deg, #a8861a 0%, #ffbc1c 82%) !important;
  color: #111 !important;
}

.main-content .right-side .title h1 .brand-title {
  position: relative;
  display: inline-block;
  color: #fff;
  font-weight: 700;
}

.main-content .right-side .title h1 .brand-project {
  color: #ffbc1c !important;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: inherit;
  line-height: inherit;
  text-transform: none;
  white-space: nowrap;
  margin: 0;
  display: inline;
  position: static;
}

.main-content .right-side .title h1 .title-line {
  color: #fff !important;
  font-weight: 400;
  font-size: 0.55em;
  letter-spacing: 0.02em;
  line-height: 1.35;
  display: inline-block;
  margin-top: 0.15em;
}

.loader-path {
  stroke: #ffbc1c !important;
}

.title-all h2::before,
.title-all h2::after,
.intro-block .title-all::after {
  background: #652bfb !important;
  box-shadow: 0 0 20px rgba(101, 43, 251, 0.55) !important;
}

.btn-more a,
.btn-payment a,
.btn-buy.btn-yellow a {
  background: #ffbc1c !important;
  color: #111 !important;
}

.btn-buy.btn-blue a {
  background: #c9a227 !important;
  color: #111 !important;
}

.news .btn-more a:hover,
.btn-payment a:hover {
  filter: brightness(1.05);
}

/* Запрет сохранения картинок через ПКМ / перетаскивание */
img,
.hero-banner,
.hero-banner__img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

/* Оверлей авторизации — поверх всего + blur фона */
.blocker {
  z-index: 100000 !important;
  background: rgba(8, 10, 18, 0.45) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
}

.blocker .modal,
.blocker .modal.modal-log {
  z-index: 100001 !important;
  position: relative;
}

/* Шрифт окна авторизации — как на samp-rp (Proxima Nova → Montserrat)
   Важно: на сайте html { font-size: 10px }, поэтому размеры в px, не rem */
.modal.modal-log,
.modal.modal-log .title-modal,
.modal.modal-log .auth-label,
.modal.modal-log .auth-input,
.modal.modal-log .auth-hint-link,
.modal.modal-log .btn_action-acc a,
.modal.modal-log .sub-text_reset a,
.modal.modal-log .auth-password-hint {
  font-family: "Montserrat", "Segoe UI", sans-serif !important;
  -webkit-font-smoothing: antialiased;
}

/* Окно авторизации — размеры как на samp-rp (карточка ~480px) */
.blocker .modal.modal-log,
.modal.modal-log,
#modal.modal.modal-log {
  max-width: 480px !important;
  width: 92% !important;
  background: #121824 !important;
  background-color: #121824 !important;
  background-image: none !important;
  border-radius: 16px !important;
  padding: 48px 40px 36px !important;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
  overflow: visible !important;
  color: #fff !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

.modal.modal-log .modal-content,
.modal.modal-log .game-form-b,
.modal.modal-log .modal-container-log,
.modal.modal-log .cont-modal {
  background: transparent !important;
  background-color: transparent !important;
  color: #fff !important;
  font-size: 16px !important;
}

.modal.modal-log a.close-modal {
  top: 16px !important;
  right: 16px !important;
  width: 32px !important;
  height: 32px !important;
  opacity: 0.55;
  filter: invert(1);
}

.modal.modal-log a.close-modal:hover {
  opacity: 0.9;
}

.modal-log .modal-container-log .title-modal {
  color: #fff !important;
  font-size: 32px !important;
  font-weight: 700 !important;
  margin-bottom: 28px !important;
  padding-bottom: 0 !important;
  text-align: center !important;
  letter-spacing: -0.02em;
  line-height: 1.2 !important;
}

.modal-log .modal-container-log .title-modal::before {
  display: none !important;
}

.modal-log .modal-container-log .auth-field {
  margin-bottom: 22px;
  text-align: left;
}

.modal-log .modal-container-log .auth-label {
  display: block;
  color: #6c757d !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  margin-bottom: 8px !important;
}

.modal-log .modal-container-log .auth-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0;
  gap: 12px;
}

.modal-log .modal-container-log .auth-label-row .auth-label {
  margin-bottom: 8px !important;
}

.modal-log .modal-container-log .auth-hint-link {
  color: #6c757d !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  white-space: nowrap;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.modal-log .modal-container-log .auth-hint-link:hover {
  color: #fff !important;
}

.modal-log .modal-container-log .auth-password-hint {
  margin: 0 0 22px;
  padding: 18px 18px 16px;
  background: rgba(10, 14, 22, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-align: left;
}

.modal-log .modal-container-log .auth-password-hint[hidden] {
  display: none !important;
}

.modal-log .modal-container-log .auth-password-hint__title {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
}

.modal-log .modal-container-log .auth-password-hint ul {
  margin: 0 0 16px;
  padding-left: 20px;
  color: #a0a5b1;
  font-size: 15px;
  line-height: 1.5;
}

.modal-log .modal-container-log .auth-password-hint li + li {
  margin-top: 10px;
}

.modal-log .modal-container-log .auth-password-hint span {
  color: #ffbc1c;
  font-weight: 600;
}

.modal-log .modal-container-log .auth-password-hint__ok {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: #652bfb;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.modal-log .modal-container-log .auth-password-hint__ok:hover {
  background: #7438ff;
}

.modal-log .modal-container-log .auth-input.inp-info,
.modal-log .modal-container-log .auth-input.inp-info.styler,
.modal-log .modal-container-log .cont-modal .inp-info,
.modal-log .modal-container-log .cont-left .inp-info,
.modal.modal-log input[type="text"],
.modal.modal-log input[type="password"],
.modal.modal-log input[type="email"] {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: none !important;
  border-radius: 8px !important;
  height: 54px !important;
  min-height: 54px !important;
  padding: 14px 18px !important;
  color: #12151c !important;
  -webkit-text-fill-color: #12151c !important;
  caret-color: #12151c !important;
  font-weight: 500 !important;
  font-size: 16px !important;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  letter-spacing: normal !important;
  color-scheme: light;
}

.modal-log .modal-container-log .auth-input.inp-info::placeholder,
.modal.modal-log input::placeholder {
  color: #8b919a !important;
  -webkit-text-fill-color: #8b919a !important;
  opacity: 1 !important;
  font-weight: 400;
  font-size: 16px !important;
  letter-spacing: normal;
}

.modal-log .modal-container-log .auth-input.inp-info:focus,
.modal.modal-log input[type="text"]:focus,
.modal.modal-log input[type="password"]:focus,
.modal.modal-log input[type="email"]:focus {
  background: #ffffff !important;
  border-color: rgba(101, 43, 251, 0.65) !important;
  box-shadow: 0 0 0 3px rgba(101, 43, 251, 0.15) !important;
  color: #12151c !important;
  -webkit-text-fill-color: #12151c !important;
  caret-color: #12151c !important;
}

/* Ввод, вставка и автозаполнение — всегда тёмный текст */
.modal.modal-log input:-webkit-autofill,
.modal.modal-log input:-webkit-autofill:hover,
.modal.modal-log input:-webkit-autofill:focus,
.modal.modal-log input:-webkit-autofill:active {
  -webkit-text-fill-color: #12151c !important;
  caret-color: #12151c !important;
  box-shadow: 0 0 0 1000px #ffffff inset !important;
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
  transition: background-color 99999s ease-out;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
}

.modal-log .modal-container-log .servers {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin: 0;
}

.modal-log .modal-container-log .servers .server,
.modal-log .modal-container-log .cont-left .servers .server {
  margin: 0 !important;
  flex: 1;
  width: auto !important;
  min-height: 54px;
  padding: 12px 16px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 14, 22, 0.55) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  color: #a0a5b1 !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: none !important;
}

.modal-log .modal-container-log .servers .server:hover {
  border-color: rgba(101, 43, 251, 0.45) !important;
  color: #fff !important;
}

.modal-log .modal-container-log .servers .server-active,
.modal-log .modal-container-log .cont-left .servers .server-active {
  background: rgba(101, 43, 251, 0.16) !important;
  border: 1px solid rgba(101, 43, 251, 0.7) !important;
  color: #fff !important;
  box-shadow: 0 0 18px rgba(101, 43, 251, 0.25) !important;
}

.modal-log .modal-container-log .btn_action-acc,
.modal-log .modal-container-log .btn_action-default {
  margin-top: 10px;
  width: 100%;
}

.modal-log .modal-container-log .btn_action-acc a,
.modal-log .modal-container-log .btn_action-default a {
  width: 100% !important;
  max-width: 100% !important;
  height: 54px !important;
  background: #652bfb !important;
  border: 2px solid #ffbc1c !important;
  border-radius: 10px !important;
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 600 !important;
  box-shadow: 0 8px 24px rgba(101, 43, 251, 0.35) !important;
}

.modal-log .modal-container-log .btn_action-acc a:hover,
.modal-log .modal-container-log .btn_action-default a:hover {
  background: #7438ff !important;
  box-shadow: 0 10px 30px rgba(255, 188, 28, 0.28), 0 0 22px rgba(101, 43, 251, 0.4) !important;
}

.modal-log .modal-container-log .sub-text_reset {
  margin-top: 20px !important;
  color: #6c757d !important;
}

.modal-log .modal-container-log .sub-text_reset a {
  color: #6c757d !important;
  font-size: 15px !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.modal-log .modal-container-log .sub-text_reset a:hover {
  color: #fff !important;
}

.modal-log .modal-container-log .sub-text_no-acc {
  color: #cfd2ea !important;
  font-size: 15px !important;
  margin-top: 16px !important;
  text-align: center;
}

/* Футер: копирайт по центру, без соцсетей / соглашений */
.footer-intro .container-footer {
  justify-content: center !important;
}

.footer-intro .container-footer .right-side {
  display: none !important;
}

.footer-intro .container-footer .left-side {
  width: 100% !important;
  text-align: center !important;
}

.footer-intro .wl-copy,
.wl-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-family: "Montserrat", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  text-align: center;
}

/* ЛК в шапке на телефоне/планшете — в бургер-меню */
.nav-login-mobile,
.nav-logout-mobile {
  display: none !important;
}

@media only screen and (max-width: 1200px) {
  .header .btn-login,
  .header-main .btn-login,
  .header-intro .btn-login,
  .header .btn-login-profile,
  .header-main .btn-login-profile,
  .header-intro .btn-login-profile,
  .home-sticky-nav .btn-login,
  .home-sticky-nav .btn-login-profile {
    display: none !important;
  }

  .nav-login-mobile,
  .nav-logout-mobile {
    display: list-item !important;
  }

  .nav-login-mobile > a,
  .nav-logout-mobile > a {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 12px 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-align: left !important;
    justify-content: flex-start !important;
  }

  .nav-login-mobile > a::before {
    display: none !important;
  }

  .nav-logout-mobile > a {
    color: rgba(255, 188, 28, 0.95) !important;
  }
}

@media (max-width: 767px) {
  .header-intro .logo-westland__img,
  .home-sticky-nav .logo-westland__img {
    height: 30px;
    max-width: 140px;
  }

  .header .btn-login a,
  .header-main .btn-login a,
  .header-intro .btn-login a {
    padding: 10px 12px !important;
    font-size: 12px !important;
    white-space: nowrap;
  }

  .footer-intro .container-footer {
    padding: 24px 12px !important;
  }

  .wl-copy {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .modal.modal-log {
    padding: 28px 16px 20px !important;
  }

  .modal-log .modal-container-log .title-modal {
    font-size: 24px !important;
    margin-bottom: 18px !important;
  }

  .modal-log .modal-container-log .btn_action-acc a,
  .modal-log .modal-container-log .btn_action-default a {
    font-size: 16px !important;
    height: 48px !important;
  }
}

