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

.newyear-topbar__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 30%, #334155 60%, #1e3a5f 100%);
}

.newyear-topbar__sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.newyear-topbar__sparkle {
  position: absolute;
  width: 8px;
  height: 8px;
  color: rgba(251, 191, 36, 0.9);
  animation: newyear-sparkle 2.2s ease-in-out infinite;
  animation-delay: calc(var(--sparkle-i, 1) * 0.15s);
}

.newyear-topbar__sparkle-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 3px rgba(251, 191, 36, 0.6));
}

.newyear-topbar__sparkle:nth-child(1) { left: 8%; top: 20%; }
.newyear-topbar__sparkle:nth-child(2) { left: 22%; top: 55%; }
.newyear-topbar__sparkle:nth-child(3) { left: 35%; top: 25%; }
.newyear-topbar__sparkle:nth-child(4) { left: 48%; top: 60%; }
.newyear-topbar__sparkle:nth-child(5) { left: 58%; top: 22%; }
.newyear-topbar__sparkle:nth-child(6) { left: 72%; top: 50%; }
.newyear-topbar__sparkle:nth-child(7) { left: 85%; top: 28%; }
.newyear-topbar__sparkle:nth-child(8) { left: 15%; top: 75%; }
.newyear-topbar__sparkle:nth-child(9) { left: 42%; top: 82%; }
.newyear-topbar__sparkle:nth-child(10) { left: 68%; top: 78%; }
.newyear-topbar__sparkle:nth-child(11) { left: 92%; top: 62%; }
.newyear-topbar__sparkle:nth-child(12) { left: 5%; top: 42%; }
.newyear-topbar__sparkle:nth-child(13) { left: 78%; top: 38%; }
.newyear-topbar__sparkle:nth-child(14) { left: 52%; top: 42%; }

@keyframes newyear-sparkle {
  0%, 100% { opacity: 0.3; transform: scale(0.8) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.2) rotate(180deg); }
}

.newyear-topbar__confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
}

.newyear-topbar__confetti-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  animation: newyear-confetti 3s ease-in-out infinite;
  animation-delay: calc(var(--confetti-i, 1) * 0.35s);
}

.newyear-topbar__confetti-dot:nth-child(1) { left: 12%; top: 30%; background: #fbbf24; }
.newyear-topbar__confetti-dot:nth-child(2) { left: 28%; top: 65%; background: #fcd34d; }
.newyear-topbar__confetti-dot:nth-child(3) { left: 45%; top: 35%; background: #f59e0b; }
.newyear-topbar__confetti-dot:nth-child(4) { left: 62%; top: 55%; background: #fbbf24; }
.newyear-topbar__confetti-dot:nth-child(5) { left: 78%; top: 25%; background: #fde68a; }
.newyear-topbar__confetti-dot:nth-child(6) { left: 18%; top: 80%; background: #f59e0b; }
.newyear-topbar__confetti-dot:nth-child(7) { left: 55%; top: 75%; background: #fbbf24; }
.newyear-topbar__confetti-dot:nth-child(8) { left: 88%; top: 70%; background: #fcd34d; }

@keyframes newyear-confetti {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-6px) scale(1.2); opacity: 0.8; }
}

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

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

.newyear-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;
}

.newyear-topbar__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 22px;
  background: transparent;
  border: none;
  border-radius: 0;
  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.4), 0 0 1px rgba(0, 0, 0, 0.3);
}

.newyear-topbar__cta:hover {
  background: transparent;
  color: #ffffff;
  transform: translateY(-1px);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45), 0 0 1px rgba(0, 0, 0, 0.4);
}

.newyear-topbar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #fef3c7;
  animation: newyear-icon-glow 1.8s ease-in-out infinite;
}

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

@keyframes newyear-icon-glow {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); filter: drop-shadow(0 0 4px rgba(251, 191, 36, 0.8)); }
}

.newyear-topbar__text {
  white-space: nowrap;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 0 1px rgba(0, 0, 0, 0.3);
}

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

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

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

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

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

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

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

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

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

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

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