html, body {
  margin: 0;
  padding: 0;
}
body{
  background: #000;
}
.header__wrapper {
  background-color: #181f36;
  color: #ffffff;
}

.header__container {
  margin: 0 auto;
  padding: 0 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__left {
  flex-shrink: 0;
}

.header__logo {
  width: 250px;
  height: 34px;
  object-fit: contain;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__auth {
  color: #fff;
  text-decoration: underline;
  cursor: pointer;
  padding: 17px 0 18px;
}

.header__auth:hover {
  color: #93c5fd;
}

.header__user-login {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  height: 100%;
  padding: 18px 20px 16px;
  border-left: 1px solid rgba(255,255,255,0.2);
  border-right: 1px solid rgba(255,255,255,0.2);
}

.header__user {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__username {
  font-weight: 600;
}

.header__username a {
  color: #fff;
  text-decoration: underline;
}

  .header__username a {
    color: #fff;
    text-decoration: underline;
  }

.header__username a {
  color: #fff;
  text-decoration: underline;
}

.header__points {
  text-align: right;
  line-height: 1.2;
}

.header__points-value {
  color: #facc15;
  font-size: 1.125rem;
  font-weight: bold;
}

.header__points-label {
  font-size: 0.75rem;
  color: #d1d5db;
}

.header__user-logout {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  height: 100%;
}

.header__logout {
  color: white;
  font-size: 0.875rem;
  text-decoration: none;
}

.header__logout:hover {
  text-decoration: underline;
}

/* ---------- Modal ---------- */
.modal__auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
}

.modal__auth-overlay.hidden {
  display: none;
}

.modal__auth-overlay.active {
  display: flex;
}

.modal__content {
  background-color: #ffffff;
  color: #000000;
  padding: 24px;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  position: relative;
}

.modal__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.modal__text {
  font-size: 0.875rem;
  margin-bottom: 16px;
}

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

.modal__btn {
  padding: 10px 16px;
  border-radius: 6px;
  text-align: center;
  color: white;
  text-decoration: none;
}

.modal__btn--vk {
  background-color: #4a76a8;
}

.modal__btn--vk:hover {
  background-color: #3c5e88;
}

.modal__btn--tg {
  background-color: #0088cc;
}

.modal__btn--tg:hover {
  background-color: #006fa3;
}

.modal__close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 1.5rem;
  color: #6b7280;
  background: none;
  border: none;
  cursor: pointer;
}

.modal__close:hover {
  color: #111827;
}

.header__neon-bar {
  width: 100%;
  height: 4px;
  background: linear-gradient(270deg, #711c91, #ea00d9, #0abdc6, #133e7c, #091833);
  background-size: 1000% 100%;
  animation: neonGradientMove 6s ease infinite;
}

@keyframes neonGradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .header__container {
      padding: 0 20px;
  }
}
@media(max-width: 768px){
  .header__container {
      padding: 0 15px;
  }
}
@media (max-width: 640px) {
  .header__logo {
    width: 125px;
    height: 17px;
  }
  .header__user-login {
    padding: 18px 10px 16px;
  }
  .header__user{
    gap: 0.5rem;
  }
}

/*MB green logos*/
.mb__line-green-logos {
  background: url(/images/mb5_logos-green.png) repeat-x 20px 50% #3bf270;
  height: 115px;
  overflow: hidden;
  padding: 10px 20px 13px;
}
@media (max-width: 640px) {
  .mb__line-green-logos {
    background-size: contain;
    height: 95px;
    overflow: hidden;
    padding: 10px 20px 13px;
  }
}