:root {
  --hw-orange: #ff963e;
  --hw-purple: #b08bfa;
  --hw-line: rgba(255, 150, 62, 0.21);
  --accent: #ff963e;
  --accent-2: #ff7e29;
  --accent-soft: rgba(255, 150, 62, 0.12);
  --primary: 25 100% 62%;
  --ring: 25 100% 62%;
  --atlantis-accent: #ff963e;
}
html body .atlantis-navbar {
  top: 36px;
}
html body .atlantis-title-gradient {
  background-image: linear-gradient(to bottom, #ffd39d, #ff963e, #e96929);
  filter: drop-shadow(0 2px 18px rgba(255, 150, 62, 0.25));
}
html body .atlantis-scene-tint {
  background: linear-gradient(180deg, rgba(63, 27, 13, 0.58), rgba(28, 15, 41, 0.72));
}
html body {
  background-color: #09090e;
  background-image:
    radial-gradient(ellipse at 12% 0%, rgba(255, 130, 35, 0.085), transparent 46%),
    radial-gradient(ellipse at 95% 40%, rgba(142, 83, 255, 0.07), transparent 50%);
  background-attachment: fixed;
}
html body::selection {
  background: #ff963e;
  color: #09090e;
}
html body .atlantis-navbar,
html body .atlantis-dashboard-sidebar,
html body .atlantis-dashboard-drawer {
  border-color: var(--hw-line);
}
html body .atlantis-product-card,
html body .checkout-card,
html body .payment-order,
html body .atlantis-dashboard-stat,
html body .atlantis-dashboard-card,
html body .mrg-admin-modal,
html body .mrg-admin-panel {
  border-color: var(--hw-line);
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.17);
}
html body .atlantis-product-card:hover {
  border-color: #ff963e80;
  box-shadow: 0 16px 40px #ff963e12;
}
html body [data-checkout-submit],
html body .atlantis-exo-buy-btn,
html body .atlantis-hero-cta,
html body .atlantis-exo-buy,
html body .atlantis-button-primary,
html body .atlantis-button-shop,
html body .packs-primary,
html body .supreme-primary-small,
html body .supreme-auth-primary,
html body .supreme-otp-submit,
html body [data-drawer-checkout] {
  background: linear-gradient(115deg, #ffad50, #ff7e29) !important;
  color: #160c06 !important;
  border-color: #ffad50 !important;
  box-shadow: 0 6px 26px #ff8c3220;
}
html body .checkout-step-number,
html body .checkout-progress .is-active,
html body .checkout-progress .is-current,
html body .payment-progress .is-active i {
  background: #ff963e !important;
  border-color: #ff963e !important;
  color: #170c03 !important;
}
html body .atlantis-nav-link:hover,
html body .atlantis-dashboard-nav-link.active,
html body .atlantis-exo-summary-save em {
  color: #ffae65 !important;
}
.mrg-halloween-season {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 16px;
  border-bottom: 1px solid var(--hw-line);
  background: linear-gradient(90deg, #ff8c320b, #b08bfa0d, #ff8c320b);
  color: #f3c69c;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mrg-halloween-season svg {
  width: 19px;
  height: 19px;
  flex: none;
  color: #ff963e;
}
.mrg-halloween-season span {
  color: #b6a0d9;
  letter-spacing: 0.02em;
  text-transform: none;
  font-weight: 500;
}
.mrg-halloween-atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: strict;
}
.mrg-halloween-atmosphere::before {
  content: "";
  position: absolute;
  right: -90px;
  top: 95px;
  width: 270px;
  height: 270px;
  border: 1px solid #ff963e09;
  border-radius: 50%;
  box-shadow:
    0 0 100px #ff963e07,
    inset 0 0 70px #b08bfa03;
}
.mrg-halloween-atmosphere svg {
  position: absolute;
  fill: #b08bfa;
  opacity: 0.13;
  width: 42px;
  animation: mrg-bat-float 16s ease-in-out infinite;
  top: 23%;
  right: 4%;
}
.mrg-halloween-atmosphere svg:nth-child(2) {
  top: 65%;
  right: auto;
  left: 2%;
  width: 30px;
  animation-delay: -7s;
  opacity: 0.08;
}
@keyframes mrg-bat-float {
  0%,
  100% {
    transform: translate(0, 0) rotate(-8deg);
  }
  50% {
    transform: translate(-12px, -22px) rotate(6deg);
  }
}
@media (max-width: 600px) {
  .mrg-halloween-season {
    font-size: 10px;
    letter-spacing: 0.06em;
  }
  .mrg-halloween-season span {
    display: none;
  }
  .mrg-halloween-atmosphere {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mrg-halloween-atmosphere svg {
    animation: none;
  }
}

/* Decorative SVGs stay at the edges, behind the original hero content. */
.mrg-halloween-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
html body .atlantis-content {
  position: relative;
  z-index: 2;
}
.mrg-hw-pumpkin {
  position: absolute;
  bottom: 52px;
  width: 130px;
  filter: drop-shadow(0 12px 22px #0008);
  animation: mrg-pumpkin-sway 7s ease-in-out infinite;
  transform-origin: 50% 90%;
}
.mrg-hw-pumpkin svg {
  display: block;
  width: 100%;
  height: auto;
}
.mrg-hw-pumpkin-left {
  left: 24px;
  transform: rotate(-8deg);
}
.mrg-hw-pumpkin-right {
  right: 28px;
  width: 105px;
  bottom: 70px;
  animation-delay: -3s;
}
.mrg-pumpkin-face {
  filter: drop-shadow(0 0 5px #ffd575);
  animation: mrg-candle-glow 4s ease-in-out infinite;
}
.mrg-hw-moon {
  position: absolute;
  width: 90px;
  height: 90px;
  right: 8%;
  top: 118px;
  border-radius: 50%;
  opacity: 0.5;
  background:
    radial-gradient(circle at 33% 31%, #ac8eac 0 7%, transparent 8%),
    radial-gradient(circle at 67% 65%, #b8a0b5 0 13%, transparent 14%),
    linear-gradient(135deg, #ffe0b1, #a891c9);
  box-shadow: 0 0 60px #b08bfa20;
}
.mrg-hw-web {
  position: absolute;
  width: 160px;
  top: 85px;
  opacity: 0.2;
}
.mrg-hw-web svg {
  width: 100%;
  stroke: #cbb8e5;
  stroke-width: 1;
}
.mrg-hw-web-left {
  left: 0;
}
.mrg-hw-web-right {
  right: 0;
  transform: scaleX(-1);
}
.mrg-hw-ghost {
  position: absolute;
  width: 43px;
  left: 7%;
  top: 30%;
  opacity: 0.38;
  filter: drop-shadow(0 0 14px #b08bfa38);
  animation: mrg-ghost-drift 11s ease-in-out infinite;
}
.mrg-hw-ghost svg {
  width: 100%;
}
.mrg-hw-embers {
  position: absolute;
  inset: 0;
}
.mrg-hw-embers i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #ffac63;
  box-shadow: 0 0 8px #ff963e;
  left: var(--ember-x);
  bottom: 15%;
  opacity: 0;
  animation: mrg-ember-rise var(--ember-duration) linear var(--ember-delay) infinite;
}
@keyframes mrg-pumpkin-sway {
  0%,
  100% {
    transform: translateY(0) rotate(-5deg);
  }
  50% {
    transform: translateY(-6px) rotate(3deg);
  }
}
@keyframes mrg-candle-glow {
  0%,
  100% {
    opacity: 0.75;
  }
  50% {
    opacity: 1;
  }
}
@keyframes mrg-ghost-drift {
  0%,
  100% {
    transform: translate(0, 0) rotate(-7deg);
  }
  50% {
    transform: translate(16px, -24px) rotate(7deg);
  }
}
@keyframes mrg-ember-rise {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  15%,
  70% {
    opacity: 0.35;
  }
  100% {
    transform: translate(24px, -320px);
    opacity: 0;
  }
}
@media (max-width: 1000px) {
  .mrg-hw-pumpkin {
    width: 85px;
    bottom: 28px;
    left: 12px;
  }
  .mrg-hw-pumpkin-right {
    left: auto;
    right: 12px;
    width: 72px;
    bottom: 40px;
  }
  .mrg-hw-moon {
    width: 60px;
    height: 60px;
    right: 5%;
    opacity: 0.3;
  }
  .mrg-hw-web {
    width: 100px;
  }
  .mrg-hw-ghost {
    left: 3%;
    width: 30px;
    opacity: 0.22;
  }
}
@media (max-width: 600px) {
  .mrg-hw-pumpkin {
    width: 56px;
    bottom: 16px;
    left: 7px;
  }
  .mrg-hw-pumpkin-right {
    left: auto;
    right: 7px;
    width: 48px;
    bottom: 22px;
  }
  .mrg-hw-ghost,
  .mrg-hw-embers,
  .mrg-hw-web {
    display: none;
  }
  .mrg-hw-moon {
    top: 112px;
    width: 42px;
    height: 42px;
    opacity: 0.2;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mrg-halloween-scene * {
    animation: none !important;
  }
  .mrg-hw-embers {
    display: none;
  }
}
