@charset "UTF-8";
/* =========================================================
   HALLOWEEN THEME — Mlbb.space
   Подключается ПОСЛЕ основных CSS. Чтобы выключить тему —
   просто удалите <link> на этот файл и <script> halloween.js.
   ========================================================= */

:root {
  --hw-bg: #0d0912;
  --hw-bg-2: #160f1f;
  --hw-surface: #1c1427;
  --hw-surface-2: #261b34;
  --hw-line: rgba(255, 140, 50, 0.16);
  --hw-text: #f4eefc;
  --hw-muted: #a99bbb;
  --hw-orange: #ff7a1a;
  --hw-orange-2: #ffae42;
  --hw-purple: #8b3dff;
  --hw-green: #7dff6a;
  --hw-glow: 0 0 0 1px rgba(255, 122, 26, 0.25), 0 10px 30px -10px rgba(255, 122, 26, 0.45);
}

html,
body {
  background: var(--hw-bg) !important;
  color: var(--hw-text);
}

/* ---------- ночное небо ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 85% 8%, rgba(255, 210, 140, 0.18) 0 40px, transparent 120px),
    radial-gradient(ellipse at 15% 0%, rgba(139, 61, 255, 0.22), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(255, 122, 26, 0.12), transparent 50%),
    linear-gradient(180deg, #120b1b 0%, var(--hw-bg) 60%);
}

#__next,
#screen,
#wrap {
  background: transparent !important;
}

#body,
#body .section,
.bg-new--corpLightDarker,
.section--bg-grey {
  background: transparent !important;
  --currentBG: transparent;
}

/* ---------- шапка ---------- */
#head {
  background: rgba(13, 9, 18, 0.82) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hw-line) !important;
  position: sticky;
}
#head::after {
  /* паутина в углу шапки */
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 70px;
  height: 70px;
  pointer-events: none;
  opacity: 0.35;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Cpath d='M0 0L100 100M0 0L100 40M0 0L40 100M0 0L100 0M0 0L0 100'/%3E%3Cpath d='M0 25Q14 18 25 0M0 50Q28 38 50 0M0 75Q42 58 75 0M0 98Q56 78 98 0'/%3E%3C/svg%3E") no-repeat 0 0 / contain;
}
.filter-tag {
  background: var(--hw-surface) !important;
  border-color: var(--hw-line) !important;
}
.filter-tag__name {
  color: var(--hw-text) !important;
}
.filter-tag--special {
  background: linear-gradient(135deg, var(--hw-orange), #ff4d1a) !important;
}
.filter-tag--special .filter-tag__name {
  color: #1a0d00 !important;
}
.burger-btn {
  background: linear-gradient(135deg, var(--hw-orange), #ff4d1a) !important;
}
.burger::before,
.burger::after {
  background-color: #1a0d00 !important;
}
.burger::before {
  box-shadow: 0 11px 0 #1a0d00 !important;
}
#catalogue-body,
#catalogue-main {
  background: var(--hw-bg-2) !important;
}
.catalogue-link__name,
.catalogue-link__name span {
  color: var(--hw-text) !important;
}

/* ---------- заголовки / текст ---------- */
.section__title,
h1,
h2,
h3,
.offer-card-new__title,
.price-new__value--new,
.offer-properties-new__line,
.offer-properties-new__line span,
.tabs-new__title,
.Accordeon_new__heading,
.accordeon-new__body p,
.breadcrumbs-new__crumb span {
  color: var(--hw-text) !important;
}
.section__title::after {
  content: " \1F383";
}
.price-new__value--old,
.price-new__value--old span,
.price-new__value--old em,
.breadcrumbs-new__crumb a,
.offer-properties-new__line-title,
.color-new--corpGreyDarker {
  color: var(--hw-muted) !important;
}

/* ---------- кнопки ---------- */
.button-new--color-prim:not(.button-new:disabled),
.button-new--color-prim:not(.button-new:disabled):hover:not(.button-new--loading) {
  background: linear-gradient(135deg, var(--hw-orange) 0%, #ff4d1a 100%) !important;
  color: #1a0d00 !important;
  font-weight: 600;
  box-shadow: 0 6px 18px -6px rgba(255, 90, 20, 0.7);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.button-new--color-prim:not(.button-new:disabled):hover:not(.button-new--loading) {
  filter: brightness(1.08);
  box-shadow: 0 10px 26px -6px rgba(255, 90, 20, 0.85);
}
.button-new--color-prim:active {
  transform: scale(0.97);
}
.button-new--color-prim .button-new__content {
  color: #1a0d00 !important;
}

/* ---------- карточки товаров ---------- */
.offer-card-new {
  background: linear-gradient(180deg, var(--hw-surface) 0%, var(--hw-bg-2) 100%) !important;
  border: 1px solid var(--hw-line);
  border-radius: 20px;
  padding: 8px 8px 10px;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.offer-card-new:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 122, 26, 0.5);
  box-shadow: var(--hw-glow);
}
.offer-card-new__image .image-new,
.offer-card-new__image .image-new img {
  background:
    radial-gradient(circle at 50% 60%, rgba(139, 61, 255, 0.35), transparent 65%),
    radial-gradient(circle at 50% 100%, rgba(255, 122, 26, 0.25), transparent 60%),
    #140d1d !important;
  border-radius: 14px;
}
.offer-card-new__body {
  padding: 0 4px;
}
.age-rating-new {
  background: linear-gradient(135deg, var(--hw-orange), #ff4d1a) !important;
  color: #1a0d00 !important;
  width: auto !important;
  padding-inline: 8px !important;
  font-weight: 600;
}
.discount-new--green {
  background: rgba(125, 255, 106, 0.12) !important;
  color: var(--hw-green) !important;
}

/* бейдж «Точно N» на карточке */
.hw-exact {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  width: max-content;
  font-size: 11px;
  line-height: 1;
  font-weight: 600;
  padding: 4px 7px;
  border-radius: 999px;
  color: var(--hw-orange-2);
  background: rgba(255, 122, 26, 0.12);
  border: 1px solid rgba(255, 122, 26, 0.3);
}

/* ---------- блоки (товар, FAQ) ---------- */
.content-block-new,
.pop,
.offer-page-layout__media,
.media__listen {
  background: var(--hw-surface) !important;
  border: 1px solid var(--hw-line);
}
.media__listen__cover {
  background: radial-gradient(circle at 50% 60%, rgba(139, 61, 255, 0.35), transparent 65%), #140d1d;
  border-radius: 16px;
}
.offer-properties-new__line {
  border-color: rgba(255, 255, 255, 0.07) !important;
}
.tabs-new__title--selected {
  border-color: var(--hw-orange) !important;
  box-shadow: inset 0 -2px 0 var(--hw-orange);
}
.tabs-new__header-runner,
.tabs-new__title {
  border-color: var(--hw-orange) !important;
}
.accordeon-new,
.accordeons-new {
  background: transparent !important;
  border-color: var(--hw-line) !important;
}
.accordeon-new__caret svg,
.icon svg {
  color: var(--hw-text);
  fill: currentColor;
}
#pop-under {
  background: rgba(5, 2, 10, 0.75) !important;
}
.input-new-wrap,
.input-new__input {
  background: var(--hw-bg-2) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px;
}
.input-new-wrap input {
  color: var(--hw-text) !important;
  background: transparent !important;
}
.input-new-wrap input::placeholder {
  color: var(--hw-muted);
}

/* строка «Выдача» на странице товара */
.hw-delivery-line span:last-child {
  color: var(--hw-orange-2) !important;
  font-weight: 600;
}

/* ---------- подвал ---------- */
.foot {
  background: #09060d !important;
  border-top: 1px solid var(--hw-line) !important;
}
.foot__title,
.foot__title span,
.foot__nav-link,
.foot__copy,
.foot__copy span {
  color: var(--hw-muted) !important;
}
.foot__nav-link:hover {
  color: var(--hw-orange) !important;
}

/* =========================================================
   HERO-баннер распродажи
   ========================================================= */
.hw-hero {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 22px 20px 20px;
  margin-top: 16px;
  background:
    radial-gradient(circle at 92% 18%, rgba(255, 220, 160, 0.9) 0 26px, rgba(255, 200, 120, 0.25) 27px, transparent 70px),
    radial-gradient(ellipse at 0% 100%, rgba(255, 122, 26, 0.4), transparent 60%),
    linear-gradient(135deg, #2a1240 0%, #1a0c27 55%, #120a1a 100%);
  border: 1px solid rgba(255, 122, 26, 0.3);
  box-shadow: 0 20px 50px -25px rgba(255, 90, 20, 0.6);
  color: var(--hw-text);
}
.hw-hero__row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hw-hero__kicker {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--hw-orange-2);
  font-weight: 600;
}
.hw-hero__title {
  font-family: "Unbounded", Hauss, sans-serif;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 800;
  margin: 0;
  color: #fff !important;
  max-width: 14ch;
  padding-right: 56px;
}
.hw-hero__title b {
  color: var(--hw-orange);
  text-shadow: 0 0 18px rgba(255, 122, 26, 0.6);
}
.hw-hero__sub {
  font-size: 14px;
  line-height: 1.45;
  color: #d6c9e6;
  margin: 0;
  max-width: 40ch;
}
.hw-timer {
  display: flex;
  gap: 8px;
}
.hw-timer__cell {
  min-width: 56px;
  padding: 8px 6px;
  border-radius: 12px;
  text-align: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hw-timer__num {
  display: block;
  font-family: "Unbounded", Hauss, sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.hw-timer__lbl {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  color: var(--hw-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hw-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 22px;
  width: max-content;
  border-radius: 14px;
  font-weight: 700;
  color: #1a0d00 !important;
  text-decoration: none;
  background: linear-gradient(135deg, var(--hw-orange), #ff4d1a);
  box-shadow: 0 8px 22px -8px rgba(255, 90, 20, 0.9);
}
.hw-hero__pumpkin {
  position: absolute;
  right: -6px;
  bottom: -10px;
  width: 120px;
  height: auto;
  z-index: 0;
  filter: drop-shadow(0 0 24px rgba(255, 122, 26, 0.55));
  animation: hw-bob 4s ease-in-out infinite;
}
.hw-hero__ghost {
  position: absolute;
  right: 22px;
  bottom: 118px;
  width: 34px;
  opacity: 0.85;
  animation: hw-float 6s ease-in-out infinite;
}

/* полоска преимуществ */
.hw-perks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}
.hw-perk {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px;
  border-radius: 14px;
  background: var(--hw-surface);
  border: 1px solid var(--hw-line);
  font-size: 12px;
  line-height: 1.3;
  color: var(--hw-muted);
}
.hw-perk b {
  color: var(--hw-text);
  font-size: 13px;
}
.hw-perk i {
  font-style: normal;
  font-size: 18px;
}

@media (min-width: 768px) {
  .hw-hero {
    padding: 36px 40px;
  }
  .hw-hero__title {
    font-size: 40px;
    max-width: 16ch;
    padding-right: 0;
  }
  .hw-hero__pumpkin {
    width: 220px;
    right: 30px;
    bottom: -14px;
  }
  .hw-hero__ghost {
    right: 270px;
    bottom: auto;
    top: 40px;
    width: 64px;
  }
  .hw-timer__cell {
    min-width: 70px;
  }
  .hw-timer__num {
    font-size: 26px;
  }
  .hw-perks {
    gap: 12px;
  }
  .hw-perk {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    font-size: 13px;
  }
}

/* =========================================================
   Летучие мыши
   ========================================================= */
.hw-bats {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.hw-bat {
  position: absolute;
  width: 34px;
  opacity: 0.55;
  animation: hw-fly linear infinite;
}
.hw-bat svg {
  width: 100%;
  height: auto;
  display: block;
  animation: hw-flap 0.35s ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes hw-fly {
  0% { transform: translate(-60px, 0); }
  50% { transform: translate(55vw, -40px); }
  100% { transform: translate(115vw, 10px); }
}
@keyframes hw-flap {
  from { transform: scaleY(1); }
  to { transform: scaleY(0.55); }
}
@keyframes hw-bob {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-6px) rotate(2deg); }
}
@keyframes hw-float {
  0%, 100% { transform: translateY(0); opacity: 0.85; }
  50% { transform: translateY(-10px); opacity: 0.55; }
}

@media (prefers-reduced-motion: reduce) {
  .hw-bat,
  .hw-bat svg,
  .hw-hero__pumpkin,
  .hw-hero__ghost {
    animation: none !important;
  }
  .hw-bats {
    display: none;
  }
}

/* =========================================================
   Окно покупки (ввод ID / Server ID)
   ========================================================= */
.pop {
  background: transparent !important;
  border: none !important;
}
.pop__block {
  background: var(--hw-surface) !important;
  color: var(--hw-text);
  border-left: 1px solid var(--hw-line);
  border-right: 1px solid var(--hw-line);
}
.pop__block:first-child {
  border-top: 1px solid var(--hw-line);
}
.pop__block:last-child {
  border-bottom: 1px solid var(--hw-line);
}
#pop-frame {
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 0 40px -10px rgba(255, 122, 26, 0.35);
  border-radius: 20px;
}
.pop .product-name,
.pop .product-name span {
  color: var(--hw-text) !important;
  font-weight: 600;
}
#pop-close .icon,
#pop-close svg {
  color: var(--hw-muted) !important;
  fill: currentColor;
}
#pop-close:hover .icon,
#pop-close:hover svg {
  color: var(--hw-orange) !important;
}
.pop .input-new-wrap {
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.pop .input-new-wrap:focus-within {
  border-color: var(--hw-orange) !important;
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.18);
}
.pop .input-new-wrap input {
  outline: none;
}
.check-btn {
  align-items: center;
  justify-content: center;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 122, 26, 0.45);
  background: rgba(255, 122, 26, 0.08);
  color: var(--hw-orange-2) !important;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none !important;
  transition: background 0.2s ease;
}
.check-btn:hover {
  background: rgba(255, 122, 26, 0.16);
}
#username_info {
  margin-top: 8px;
  font-size: 14px;
  color: var(--hw-text);
}
.pop .color-new--corpGreyDarker {
  color: var(--hw-muted) !important;
}

/* ---------- рамка картинки товара ---------- */
.offer-card-new__header {
  background: #140d1d !important;
  border: 1px solid rgba(255, 122, 26, 0.28) !important;
  border-radius: 16px;
  box-shadow:
    inset 0 0 24px rgba(139, 61, 255, 0.25),
    inset 0 -12px 28px -12px rgba(255, 122, 26, 0.35);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.offer-card-new__image .image-new,
.offer-card-new__image .image-new img {
  border-radius: 0 !important;
}
.offer-card-new:hover .offer-card-new__header {
  border-color: rgba(255, 140, 50, 0.7) !important;
  box-shadow:
    inset 0 0 28px rgba(139, 61, 255, 0.35),
    inset 0 -14px 32px -10px rgba(255, 122, 26, 0.55),
    0 0 18px -4px rgba(255, 122, 26, 0.45);
}

/* ---------- поля ввода в окне покупки ---------- */
.input-new__input input {
  background: var(--hw-bg-2) !important;
  color: var(--hw-text) !important;
  caret-color: var(--hw-orange) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input-new__input input:focus {
  border-color: var(--hw-orange) !important;
  box-shadow: 0 0 0 3px rgba(255, 122, 26, 0.18);
  outline: none;
}
.input-new__input input::placeholder {
  color: var(--hw-muted) !important;
}
.pop .input-new-wrap,
.pop .input-new-wrap:focus-within,
.input-new-wrap,
.input-new__input {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* разделитель «›» в хлебных крошках (экранирован, чтобы не ломалась кодировка) */
.breadcrumbs-new__crumb:not(:last-child):after {
  content: "\203A" !important;
  color: var(--hw-muted) !important;
}
