/* Seasonal presentation only. Remove data-season="halloween" to restore the base theme. */
html[data-season="halloween"] {
  background-color: #130F1C;
}

html[data-season="halloween"] body {
  --gold-primary: #FFAF70;
  --gold-light: #FFD9AD;
  --gold-dark: #EF853D;
  --gold-border: #F398514D;
  --gold-glow: #F3985126;
  --gold-gradient: linear-gradient(125deg, #FFD5A3, #FFA152 55%, #EB792F);
  --gold-gradient-subtle: linear-gradient(135deg, #F398511A, #A38BD61A);
  --halloween-plum: #C8ACEA;
  --halloween-web: #BBA1CF;
  background:
    radial-gradient(ellipse at 90% 3%, #9D61C31C, transparent 32rem),
    radial-gradient(ellipse at 5% 9%, #EF853D16, transparent 35rem),
    #130F1C;
}

html[data-season="halloween"][data-theme="light"] { background-color: #FFF9F1; }
html[data-season="halloween"][data-theme="light"] body {
  --gold-primary: #A54415;
  --gold-light: #B34B19;
  --gold-dark: #85360F;
  --gold-border: #B3542438;
  --gold-glow: #D5682120;
  --gold-gradient-subtle: linear-gradient(135deg, #FBE8D6, #F0E5F633);
  --text-pure: #291D2B;
  --text-primary: #362A38;
  --text-secondary: #655663;
  --text-muted: #746370;
  --halloween-plum: #74538C;
  --halloween-web: #9C7CAB;
  background:
    radial-gradient(ellipse at 90% 2%, #C9AFE426, transparent 35rem),
    radial-gradient(ellipse at 5% 10%, #FFB26029, transparent 38rem),
    #FFF9F1;
}

html[data-season="halloween"] .header {
  background: #19121FEF;
  border-bottom-color: var(--gold-border);
}
html[data-season="halloween"][data-theme="light"] .header { background: #FFF9F2F5; }

html[data-season="halloween"] :is(.button-gold, .header-register-btn, .popular-ribbon) {
  background: linear-gradient(125deg, #FFD3A0, #FFAC68 55%, #F38A47);
  color: #301B18;
  box-shadow: 0 6px 20px #D56B2426;
}
html[data-season="halloween"] :is(.gold-shimmer, .text-gradient-gold) {
  background-image: linear-gradient(120deg, #FFCB91, #FFA568 65%, #DBC2F2);
  -webkit-background-clip: text;
  background-clip: text;
}
html[data-season="halloween"][data-theme="light"] :is(.gold-shimmer, .text-gradient-gold) {
  background-image: linear-gradient(120deg, #A34414, #B94E1F 65%, #765093);
}
html[data-season="halloween"] .pricing-card.is-popular {
  border-color: #E68B4A;
  box-shadow: 0 14px 40px #C4772620;
}
html[data-season="halloween"] .stage-glow-ambient {
  background: radial-gradient(circle, #AC78DA24, #FF9A4B18 45%, transparent 70%);
}
html[data-season="halloween"] .stage-orbit-ring { border-color: var(--gold-border); }
html[data-season="halloween"] .ambient-canvas3d { opacity: .3; }

.halloween-edition, .halloween-scenery, .halloween-footer-art { display: none; }
html[data-season="halloween"] .halloween-edition {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin-bottom: 24px;
  padding: 7px 14px 7px 9px;
  border: 1px solid var(--gold-border);
  border-radius: 999px;
  background: #F39A5110;
  color: var(--gold-primary);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
}
.halloween-edition svg { width: 30px; height: 30px; }
.halloween-edition-star { color: var(--halloween-plum); margin-left: 3px; }

html[data-season="halloween"] .halloween-scenery {
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
}
.halloween-scenery > * { position: absolute; }
.halloween-moon {
  top: -22px;
  right: 45px;
  width: 125px;
  height: 125px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFF4DB, #F4C18D);
  box-shadow: 0 0 80px 12px #F5B5691C;
  opacity: .7;
}
.halloween-web { width: 150px; height: 150px; right: -18px; top: -35px; transform: rotate(90deg); color: var(--halloween-web); opacity: .45; }
.halloween-bat { color: var(--halloween-plum); }
.halloween-bat-one { width: 64px; height: 36px; top: 5px; right: 150px; transform: rotate(-14deg); }
.halloween-bat-two { width: 40px; height: 23px; top: 65px; right: 8px; transform: rotate(15deg); opacity: .7; }
.halloween-ghost { width: 56px; height: 70px; right: -12px; bottom: 65px; transform: rotate(10deg); }
.halloween-pumpkin { width: 105px; height: 105px; left: -12px; bottom: -20px; transform: rotate(-8deg); filter: drop-shadow(0 12px 15px #A34B251F); }

html[data-season="halloween"] .footer { background: #19121F; border-top-color: var(--gold-border); }
html[data-season="halloween"][data-theme="light"] .footer { background: #F9EFE5; }
html[data-season="halloween"] .halloween-footer-art {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: -8px auto 25px;
  color: var(--halloween-plum);
  pointer-events: none;
}
.halloween-footer-art svg:first-child { width: 52px; height: 52px; transform: rotate(-10deg); }
.halloween-footer-art svg:last-child { width: 32px; height: 42px; transform: rotate(12deg); }

@media (prefers-reduced-motion: no-preference) {
  .halloween-ghost { animation: halloween-drift 7s ease-in-out infinite; }
  @keyframes halloween-drift {
    0%, 100% { transform: translateY(0) rotate(10deg); }
    50% { transform: translateY(-8px) rotate(5deg); }
  }
}
@media (max-width: 1024px) {
  .halloween-web { right: 0; }
  .halloween-ghost { right: 8px; }
  .halloween-pumpkin { left: 8px; }
}
@media (max-width: 600px) {
  html[data-season="halloween"] .halloween-edition { margin-bottom: 20px; font-size: 11px; }
  .halloween-moon { width: 86px; height: 86px; right: 18px; top: 8px; }
  .halloween-web { width: 90px; height: 90px; top: -6px; }
  .halloween-bat-one { width: 46px; height: 26px; top: 8px; right: 100px; }
  .halloween-bat-two { display: none; }
  .halloween-ghost { width: 36px; height: 45px; right: 0; bottom: 30px; }
  .halloween-pumpkin { width: 70px; height: 70px; left: 0; bottom: -12px; }
}
@media print {
  html[data-season="halloween"] :is(.halloween-edition, .halloween-scenery, .halloween-footer-art) { display: none; }
}
