/* Halloween topbar – loaded in layout to prevent FOUC on refresh */
.halloween-topbar__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.halloween-topbar__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1c1917 0%, #292524 25%, #451a03 50%, #292524 75%, #0c0a09 100%);
}

.halloween-topbar__dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.halloween-topbar__dot {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #ea580c;
  opacity: 0.5;
  animation: halloween-dot 3s ease-in-out infinite;
  animation-delay: calc(var(--dot-i, 1) * 0.3s);
}

.halloween-topbar__dot:nth-child(1) { left: 8%; top: 30%; }
.halloween-topbar__dot:nth-child(2) { left: 22%; top: 55%; }
.halloween-topbar__dot:nth-child(3) { left: 38%; top: 25%; }
.halloween-topbar__dot:nth-child(4) { left: 55%; top: 60%; }
.halloween-topbar__dot:nth-child(5) { left: 72%; top: 35%; }
.halloween-topbar__dot:nth-child(6) { left: 88%; top: 50%; }
.halloween-topbar__dot:nth-child(7) { left: 15%; top: 70%; }
.halloween-topbar__dot:nth-child(8) { left: 45%; top: 45%; }
.halloween-topbar__dot:nth-child(9) { left: 65%; top: 75%; }
.halloween-topbar__dot:nth-child(10) { left: 92%; top: 22%; }

@keyframes halloween-dot {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.2); }
}

.halloween-topbar__container {
  position: relative;
  z-index: 2;
}

.halloween-topbar__logo {
  position: relative;
  z-index: 3;
}

.halloween-topbar__center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 20px;
  margin-right: 20px;
  min-height: 48px;
  position: relative;
  z-index: 2;
}

.halloween-topbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 22px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.halloween-topbar__cta:hover {
  background: transparent;
  color: #ffffff;
  transform: translateY(-1px);
}

.halloween-topbar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #fed7aa;
}

.halloween-topbar__icon svg {
  width: 100%;
  height: 100%;
}

.halloween-topbar__text {
  white-space: nowrap;
  color: #ffffff;
}

.halloween-topbar .topbar-right,
.halloween-topbar .topbar-right a,
.halloween-topbar .topbar-right .support-and-language-area > a,
.halloween-topbar .topbar-right .language-btn span,
.halloween-topbar .topbar-right .currency-btn span,
.halloween-topbar .topbar-right .language-btn i,
.halloween-topbar .topbar-right .currency-btn i {
  color: #ffffff !important;
}

.halloween-topbar .topbar-right .support-and-language-area > a:hover {
  color: rgba(255, 255, 255, 0.9) !important;
}

.halloween-topbar .topbar-right .language-btn svg {
  fill: #ffffff !important;
}

.halloween-topbar .topbar-right .primary-btn1.black-bg {
  background-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.halloween-topbar .topbar-right .primary-btn1.black-bg:hover {
  background-color: rgba(255, 255, 255, 0.4) !important;
  color: #ffffff !important;
}

.halloween-topbar .topbar-right .primary-btn1 span svg,
.halloween-topbar .topbar-right .primary-btn1 .login-btn-text {
  fill: #ffffff !important;
  color: #ffffff !important;
}

.halloween-topbar .topbar-right .support-and-language-area > a::before {
  background-color: rgba(255, 255, 255, 0.5);
}

.halloween-topbar .topbar-right .language-btn .bi-caret-down-fill,
.halloween-topbar .topbar-right .currency-btn .bi-caret-down-fill,
.halloween-topbar .topbar-right .currency-btn .bi-currency-dollar {
  color: #ffffff !important;
}

/* Dropdown panels: ensure white background and dark text (visible without hover) */
.halloween-topbar .topbar-right .language-area .language-list,
.halloween-topbar .topbar-right .currency-area .currency-list {
  background-color: #ffffff !important;
}
.halloween-topbar .topbar-right .language-area .language-list li a,
.halloween-topbar .topbar-right .currency-area .currency-list li a {
  color: #111827 !important;
  background-color: transparent;
}
.halloween-topbar .topbar-right .language-area .language-list li a:hover,
.halloween-topbar .topbar-right .currency-area .currency-list li a:hover {
  color: #ffffff !important;
  background-color: var(--primary-color1, #0284c7);
}

@media (max-width: 1199px) {
  .halloween-topbar__text {
    font-size: 13px;
  }
}

@media (max-width: 991px) {
  .halloween-topbar__center {
    display: none;
  }
}
