/* ============================================================================
   PERMA.WTF — CHRISTMAS OVERHAUL (Crimson Red + Hanging Snow + Lights & Holly)
   ============================================================================ */

:root {
  --xmas-bg-deep: #070406;
  --xmas-bg-crimson: #15070a;
  --xmas-bg-mid: #1c090e;
  --xmas-crimson: #dc2626;
  --xmas-crimson-bright: #ef4444;
  --xmas-crimson-deep: #7f1d1d;
  --xmas-green: #22c55e;
  --xmas-gold: #fde047;
  --xmas-snow: #ffffff;

  --glass-bg: linear-gradient(155deg, rgba(255, 255, 255, 0.065) 0%, rgba(28, 10, 14, 0.65) 55%, rgba(220, 38, 38, 0.08) 100%), rgba(12, 6, 8, 0.72);
  --glass-bg-strong: linear-gradient(155deg, rgba(255, 255, 255, 0.09) 0%, rgba(24, 9, 13, 0.88) 100%), rgba(10, 5, 7, 0.92);
  --glass-border: 1px solid rgba(220, 38, 38, 0.28);
  --glass-shadow: 0 14px 40px -16px rgba(0, 0, 0, 0.82), inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 24px -14px rgba(220, 38, 38, 0.4);
}

/* ---------- Deep Crimson-Obsidian Winter Night Background ---------- */
html,
html[data-scheme="light"],
html[data-scheme="dark"] {
  background-color: var(--xmas-bg-deep) !important;
}

body.xmas-theme {
  min-height: 100vh !important;
  background:
    radial-gradient(ellipse 90% 55% at 50% -8%, rgba(220, 38, 38, 0.28), transparent 65%),
    radial-gradient(ellipse 65% 45% at 15% 22%, rgba(185, 28, 28, 0.18), transparent 65%),
    radial-gradient(ellipse 65% 45% at 85% 26%, rgba(220, 38, 38, 0.16), transparent 65%),
    linear-gradient(180deg, #070406 0%, #12070a 22%, #19090d 48%, #13070a 76%, #070406 100%) no-repeat fixed !important;
  color: #ffffff !important;
}

@media (max-width: 768px) {
  body.xmas-theme {
    background:
      radial-gradient(ellipse 100% 50% at 50% 0%, rgba(220, 38, 38, 0.26), transparent 65%),
      linear-gradient(180deg, #070406 0%, #12070a 25%, #19090d 55%, #070406 100%) no-repeat !important;
    background-size: 100% 100% !important;
  }
}

body.xmas-theme::before {
  opacity: 0.45 !important;
  background-image:
    radial-gradient(2px 2px at 8% 22%, rgba(255, 255, 255, 0.75), transparent 60%),
    radial-gradient(2px 2px at 21% 71%, rgba(239, 68, 68, 0.55), transparent 60%),
    radial-gradient(3px 3px at 34% 12%, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(2px 2px at 47% 58%, rgba(253, 224, 71, 0.45), transparent 60%),
    radial-gradient(2px 2px at 63% 31%, rgba(255, 255, 255, 0.65), transparent 60%),
    radial-gradient(3px 3px at 76% 80%, rgba(239, 68, 68, 0.5), transparent 60%),
    radial-gradient(2px 2px at 88% 18%, rgba(255, 255, 255, 0.65), transparent 60%),
    radial-gradient(2px 2px at 94% 55%, rgba(220, 38, 38, 0.55), transparent 60%) !important;
}

body.xmas-theme::after {
  opacity: 0.45 !important;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(220, 38, 38, 0.1), transparent 70%),
    radial-gradient(circle at 50% 0%, rgba(220, 38, 38, 0.16), transparent 58%) !important;
}

.xmas-aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(52% 36% at 18% 12%, rgba(220, 38, 38, 0.16), transparent 70%),
    radial-gradient(48% 34% at 82% 16%, rgba(185, 28, 28, 0.15), transparent 70%),
    radial-gradient(60% 42% at 50% 62%, rgba(220, 38, 38, 0.06), transparent 72%);
  animation: xmas-aurora-drift 16s ease-in-out infinite alternate;
}

@keyframes xmas-aurora-drift {
  0% { transform: translate3d(-1.5%, -1%, 0) scale(1); opacity: 0.85; }
  100% { transform: translate3d(1.5%, 1.5%, 0) scale(1.04); opacity: 1; }
}

/* ---------- Falling Snow Canvas ---------- */
.xmas-snow-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 45;
  pointer-events: none;
}

/* ---------- Announcement Bar (Rich Crimson Ribbon) ---------- */
.sa-announcement {
  background: linear-gradient(90deg, #450a0a 0%, #b91c1c 28%, #dc2626 50%, #b91c1c 72%, #450a0a 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 4px 18px rgba(0, 0, 0, 0.55) !important;
  color: #ffffff !important;
}

.sa-announcement-item {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
}

.sa-announcement-item::before {
  width: 0.42rem !important;
  height: 0.42rem !important;
  border-radius: 9999px !important;
  transform: none !important;
  background: #ffffff !important;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9) !important;
}

/* ---------- Navbar & Header ---------- */
.sa-header {
  overflow: visible !important;
}

.sa-header .sa-navbar,
.sa-header.is-scrolled .sa-navbar {
  background: linear-gradient(180deg, rgba(20, 8, 12, 0.9), rgba(10, 5, 7, 0.86)) !important;
  -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
  backdrop-filter: blur(20px) saturate(150%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-bottom: 1px solid rgba(220, 38, 38, 0.35) !important;
  box-shadow: 0 14px 36px -14px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.sa-navbar-link {
  color: #d4d4d8 !important;
}

.sa-navbar-link:hover {
  color: #ffffff !important;
  background: rgba(220, 38, 38, 0.16) !important;
}

.sa-navbar-link::after {
  background: linear-gradient(90deg, var(--xmas-crimson-bright), #fca5a5) !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.85) !important;
}

.sa-navbar-link.text-t-primary.bg-t-primary\/5,
.sa-navbar-link[aria-current="page"] {
  color: #ffffff !important;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 4px 16px -3px rgba(220, 38, 38, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
}

/* Discord Button in Navbar & Footer */
.sa-navbar-discord,
a.sa-navbar-discord,
.sa-navbar a[href*="discord"],
.sa-navbar [href*="discord.gg"],
.sa-footer a[aria-label*="Discord"] {
  background: linear-gradient(135deg, #1b0b10 0%, #0d0608 100%) !important;
  background-color: #14080c !important;
  border: 1px solid rgba(220, 38, 38, 0.45) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 4px 14px rgba(0, 0, 0, 0.55) !important;
}

.sa-navbar-discord:hover,
a.sa-navbar-discord:hover,
.sa-navbar a[href*="discord"]:hover,
.sa-navbar [href*="discord.gg"]:hover,
.sa-footer a[aria-label*="Discord"]:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #7f1d1d 100%) !important;
  border-color: rgba(248, 113, 113, 0.85) !important;
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.5) !important;
}

/* Search Bar & Navbar Spacing */
@media (min-width: 1024px) and (max-width: 1279px) {
  .sa-google-search:not(.is-open) {
    width: 10.25rem !important;
  }
}

.sa-google-search-bar {
  background: rgba(20, 8, 12, 0.78) !important;
  border: 1px solid rgba(220, 38, 38, 0.3) !important;
}

.sa-google-search-bar:hover,
.sa-google-search-bar.is-open {
  background: #14080c !important;
  border-color: rgba(239, 68, 68, 0.6) !important;
}

.sa-google-search-dropdown {
  background: #14080c !important;
  border-color: rgba(239, 68, 68, 0.45) !important;
}

.sa-google-search-item:hover {
  background-color: rgba(220, 38, 38, 0.18) !important;
}

/* Santa Hat on Navbar Logo (sitting squarely on top of the P) */
.xmas-santa-hat {
  position: absolute;
  top: -13px;
  left: -2px;
  width: 28px;
  height: 22px;
  transform: rotate(-10deg);
  pointer-events: none;
  z-index: 12;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.75));
}

/* ============================================================================
   CLEAN CHRISTMAS FAIRY LIGHTS + CORNER HOLLY (Zero Cut-off, Uncluttered)
   ============================================================================ */

.xmas-garland-wrap {
  position: relative;
  width: 100%;
  pointer-events: none;
  user-select: none;
  z-index: 35;
}

.xmas-garland-wrap--header {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 38px;
  overflow: visible;
}

.xmas-garland-wrap--footer {
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 38px;
  overflow: visible;
}

.xmas-lights-rail {
  position: relative;
  width: 100%;
  height: 38px;
  padding-inline: 26px;
  box-sizing: border-box;
  overflow: visible;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.xmas-light-slot {
  position: relative;
  flex: 1 1 0;
  min-width: 38px;
  height: 38px;
  display: flex;
  justify-content: center;
  overflow: visible;
}

.xmas-wire-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 12px;
  pointer-events: none;
  overflow: visible;
}

.xmas-bulb-wrap {
  position: relative;
  margin-top: 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: top center;
  animation: xmas-bulb-sway 4.2s ease-in-out infinite alternate;
  animation-delay: var(--sway-delay, 0s);
}

.xmas-bulb-cap {
  width: 5px;
  height: 3.5px;
  border-radius: 2px 2px 1px 1px;
  background: #27272a;
  border: 0.5px solid rgba(255, 255, 255, 0.25);
}

.xmas-bulb {
  width: 7px;
  height: 10px;
  border-radius: 50% 50% 50% 50% / 38% 38% 62% 62%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, var(--bulb-color, #ef4444) 48%, var(--bulb-deep, #991b1b) 100%);
  box-shadow:
    0 0 7px 1.5px var(--bulb-glow, rgba(239, 68, 68, 0.85)),
    0 0 15px 3px var(--bulb-glow-soft, rgba(239, 68, 68, 0.4));
  animation: xmas-twinkle var(--twinkle-dur, 2.2s) ease-in-out infinite alternate;
  animation-delay: var(--twinkle-delay, 0s);
}

.xmas-bulb--red   { --bulb-color: #ff4d4d; --bulb-deep: #991b1b; --bulb-glow: rgba(255, 68, 68, 0.9); --bulb-glow-soft: rgba(239, 68, 68, 0.45); }
.xmas-bulb--green { --bulb-color: #4ade80; --bulb-deep: #15803d; --bulb-glow: rgba(74, 222, 128, 0.9); --bulb-glow-soft: rgba(34, 197, 94, 0.42); }
.xmas-bulb--gold  { --bulb-color: #fde047; --bulb-deep: #ca8a04; --bulb-glow: rgba(253, 224, 71, 0.92); --bulb-glow-soft: rgba(245, 158, 11, 0.45); }
.xmas-bulb--blue  { --bulb-color: #7dd3fc; --bulb-deep: #0284c7; --bulb-glow: rgba(125, 211, 252, 0.88); --bulb-glow-soft: rgba(56, 189, 248, 0.4); }
.xmas-bulb--warm  { --bulb-color: #fef3c7; --bulb-deep: #d97706; --bulb-glow: rgba(254, 243, 199, 0.92); --bulb-glow-soft: rgba(251, 191, 36, 0.45); }

@keyframes xmas-twinkle {
  0% { opacity: 0.48; filter: brightness(0.75); transform: scale(0.94); }
  55% { opacity: 1; filter: brightness(1.2); transform: scale(1.04); }
  100% { opacity: 0.88; filter: brightness(1.05); transform: scale(1); }
}

@keyframes xmas-bulb-sway {
  0% { transform: rotate(-2.5deg); }
  100% { transform: rotate(2.5deg); }
}

/* Corner Holly Clusters */
.xmas-holly-corner {
  position: absolute;
  top: -11px;
  width: 38px;
  height: 29px;
  z-index: 38;
  filter: drop-shadow(0 0 7px rgba(34, 197, 94, 0.42)) drop-shadow(0 3px 8px rgba(0, 0, 0, 0.8));
}

.xmas-holly-corner--left {
  left: 8px;
  transform: rotate(-10deg);
}

.xmas-holly-corner--right {
  right: 8px;
  transform: scaleX(-1) rotate(-10deg);
}

.xmas-holly-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.xmas-logo-wrap {
  position: relative;
}

.xmas-logo-holly {
  position: absolute;
  top: -7px;
  right: -14px;
  width: 24px;
  height: 18px;
  pointer-events: none;
  transform: rotate(14deg);
  filter: drop-shadow(0 0 6px rgba(34, 197, 94, 0.45)) drop-shadow(0 2px 5px rgba(0, 0, 0, 0.75));
}

.xmas-eyebrow-holly {
  display: inline-flex;
  width: 20px;
  height: 16px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 5px rgba(34, 197, 94, 0.45)) drop-shadow(0 1px 4px rgba(0, 0, 0, 0.6));
}

/* Section Header Flanking Holly */
.xmas-section-title-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  max-width: 100%;
}

.xmas-section-title-wrap .sa-section-title {
  width: auto !important;
}

.xmas-section-holly {
  display: inline-flex;
  width: 28px;
  height: 22px;
  flex-shrink: 0;
  margin-top: -0.6rem;
  filter: drop-shadow(0 0 7px rgba(34, 197, 94, 0.45)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.8));
}

.xmas-section-holly--left {
  transform: rotate(-12deg);
}

.xmas-section-holly--right {
  transform: scaleX(-1) rotate(-12deg);
}

/* ---------- Hero Grid, Eyebrow & Tri-Color Animated Highlight ---------- */
.sa-hero {
  padding-top: 1.5rem;
}

.xmas-hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(ellipse 75% 68% at 50% 34%, #000 22%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 68% at 50% 34%, #000 22%, transparent 78%);
}

.sa-hero-eyebrow {
  background: linear-gradient(135deg, rgba(35, 11, 16, 0.88), rgba(127, 29, 29, 0.45)) !important;
  border: 1px solid rgba(220, 38, 38, 0.48) !important;
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.2), 0 0 28px -6px rgba(220, 38, 38, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  color: #f4f4f5 !important;
}

/* Bold Highlight Text: Smoothly fades Yellow -> Green -> Red -> Yellow */
@keyframes xmas-tri-fade {
  0%   { color: #fde047; filter: drop-shadow(0 0 18px rgba(253, 224, 71, 0.45)); }
  33%  { color: #4ade80; filter: drop-shadow(0 0 18px rgba(74, 222, 128, 0.45)); }
  66%  { color: #ef4444; filter: drop-shadow(0 0 18px rgba(239, 68, 68, 0.55)); }
  100% { color: #fde047; filter: drop-shadow(0 0 18px rgba(253, 224, 71, 0.45)); }
}

.hl-accent .mk,
.sa-hero .sa-hero-title .mk {
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  color: #fde047;
  -webkit-text-fill-color: currentColor;
  animation: xmas-tri-fade 5.4s ease-in-out infinite !important;
}

.sa-hero .sa-btn,
.sa-hero-title,
.sa-hero-subtitle,
.sa-hero-actions,
.sa-hero-eyebrow {
  filter: none !important;
}

/* ---------- Section Titles & Dividers ---------- */
.sa-section-title::after {
  width: 60px !important;
  height: 3px !important;
  background: linear-gradient(90deg, #ef4444, #dc2626) !important;
  box-shadow: 0 0 14px rgba(220, 38, 38, 0.75) !important;
}

.sa-section-header.text-center .sa-section-title::after,
.sa-section-header[class*="text-center"] .sa-section-title::after,
.sa-section-header .text-center::after {
  background: linear-gradient(90deg, transparent, #ef4444 50%, transparent) !important;
}

.components > .component + .component:not(.sa-stats):not(.sa-steps):not(.sa-categories):not(.sa-products):not(.sa-page-products)::before {
  background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.45), transparent) !important;
}

/* ---------- Christmas Crimson CTA Buttons ---------- */
.sa-hero .sa-btn--primary.sa-btn--solid,
.sa-btn--primary.sa-btn--solid,
button.bg-accent-500,
a.bg-accent-500.rounded-btn,
.sa-add-to-cart,
.sa-showcase-btn {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 52%, #991b1b 100%) !important;
  background-image: linear-gradient(135deg, #ef4444 0%, #dc2626 52%, #991b1b 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow:
    0 8px 24px -4px rgba(220, 38, 38, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35) !important;
}

.sa-hero .sa-btn--primary.sa-btn--solid:hover,
.sa-btn--primary.sa-btn--solid:hover,
button.bg-accent-500:hover,
a.bg-accent-500.rounded-btn:hover,
.sa-add-to-cart:hover,
.sa-showcase-btn:hover {
  background: linear-gradient(135deg, #f87171 0%, #ef4444 50%, #b91c1c 100%) !important;
  background-image: linear-gradient(135deg, #f87171 0%, #ef4444 50%, #b91c1c 100%) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  box-shadow:
    0 12px 32px -4px rgba(239, 68, 68, 0.85),
    inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
}

.sa-hero .sa-btn--secondary,
.sa-hero .sa-btn--outline,
.sa-btn--secondary,
.sa-btn--outline {
  background: rgba(24, 10, 14, 0.75) !important;
  color: #ffffff !important;
  border: 1px solid rgba(220, 38, 38, 0.38) !important;
  box-shadow: 0 6px 18px -4px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}

.sa-hero .sa-btn--secondary:hover,
.sa-hero .sa-btn--outline:hover,
.sa-btn--secondary:hover,
.sa-btn--outline:hover {
  background: rgba(220, 38, 38, 0.22) !important;
  border-color: rgba(239, 68, 68, 0.65) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 26px -4px rgba(220, 38, 38, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

/* ---------- High-Quality Hanging Snow Caps on Cards & Pop-ups ---------- */
.sa-sale,
.sa-stats--cards .sa-stats-item,
.sa-features-item,
.sa-product-card,
.sa-product-card:hover {
  overflow: visible !important;
}

.sa-product-card-media {
  border-top-left-radius: calc(var(--radius-card, 20px) - 1px) !important;
  border-top-right-radius: calc(var(--radius-card, 20px) - 1px) !important;
  overflow: hidden !important;
}

.sa-product-card--media-overlay .sa-product-card-media,
.sa-product-card--media-overlay:hover .sa-product-card-media {
  border-radius: calc(var(--radius-card, 20px) - 1px) !important;
  overflow: hidden !important;
}

.sa-product-card--media-overlay > .absolute.inset-x-0.bottom-0 {
  border-bottom-left-radius: calc(var(--radius-card, 20px) - 1px) !important;
  border-bottom-right-radius: calc(var(--radius-card, 20px) - 1px) !important;
}

.xmas-snow-cap {
  position: absolute;
  top: -8px;
  left: -3px;
  right: -3px;
  height: 23px;
  pointer-events: none;
  z-index: 12;
  display: block;
}

.xmas-snow-cap svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.55));
}

/* ---------- Glass Cards (Deep Crimson-Obsidian) ---------- */
.bg-surface.rounded-card.border:not(.sa-product-card),
.sa-product-card,
.sa-stats--cards .sa-stats-item,
.sa-features-item,
.sa-faq-item,
.sa-trust-badges,
.sa-status-card,
.sa-feedback-card,
.sa-page-cart-item,
.sa-page-cart .lg\:sticky > .rounded-card,
.sa-showcase-card,
.sa-showcase-stage,
.sa-sale,
.sa-security,
.sa-cart-meter,
.sa-category-tabs a,
.sa-cat-pill {
  background: var(--glass-bg) !important;
  border: var(--glass-border) !important;
  box-shadow: var(--glass-shadow) !important;
}

.sa-product-card::after {
  display: none !important;
}

.sa-product-card::before {
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(220, 38, 38, 0.16), transparent 68%) !important;
}

.sa-product-card:hover,
.sa-stats--cards .sa-stats-item:hover,
.sa-features-item:hover,
.sa-status-card:hover,
.sa-feedback-card:hover,
.sa-page-cart-item:hover {
  border-color: rgba(239, 68, 68, 0.65) !important;
  box-shadow:
    0 16px 36px -10px rgba(0, 0, 0, 0.8),
    0 0 26px -4px rgba(220, 38, 38, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

/* ---------- Product Card Prices & Badges ---------- */
.sa-product-card-price {
  background: linear-gradient(135deg, #240c11 0%, #120608 100%) !important;
  border: 1px solid rgba(239, 68, 68, 0.55) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
}

.sa-product-card-price-slash {
  color: #a1a1aa !important;
  text-decoration-color: #ef4444 !important;
}

.sa-product-card-badge,
.sa-product-card-status {
  background: rgba(14, 6, 8, 0.88) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  backdrop-filter: blur(8px) !important;
  border-color: rgba(239, 68, 68, 0.45) !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* ---------- Stats & 01 -> 03 Travelling Progress Bar ---------- */
.sa-stats-item .text-h2 {
  background: linear-gradient(180deg, #ffffff 20%, #fca5a5 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

.sa-stats--cards .sa-stats-item::after {
  background: linear-gradient(90deg, transparent, #ef4444, transparent) !important;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.75) !important;
}

.sa-steps-icon {
  background: linear-gradient(145deg, rgba(220, 38, 38, 0.28), rgba(127, 29, 29, 0.14)) !important;
  border: 1px solid rgba(239, 68, 68, 0.5) !important;
  color: #ffffff !important;
  box-shadow: 0 0 28px -6px rgba(220, 38, 38, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
}

.sa-steps--grid .sa-steps-icon::after {
  background: linear-gradient(135deg, #ef4444, #b91c1c) !important;
  color: #ffffff !important;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.85), 0 0 0 3px #12070a !important;
}

.sa-steps--grid .sa-steps-item span.tabular-nums {
  color: #f87171 !important;
}

/* Clear travelling 01 -> 02 -> 03 progress bar */
html.rc-js .sa-steps--grid .sa-steps-item .h-px,
.sa-steps--grid .sa-steps-item .h-px {
  height: 3px !important;
  border-radius: 9999px !important;
  background: rgba(255, 255, 255, 0.14) !important;
  overflow: visible !important;
}

.sa-steps--grid .sa-steps-item .h-px::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #ef4444 0%, #fde047 55%, #22c55e 100%);
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.85);
  transform-origin: left center;
  transform: scaleX(0);
}

.sa-steps--grid.is-playing .sa-steps-item .h-px::after {
  animation: xmas-step-travel 1.35s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--d, 0.3s) + 0.25s) forwards;
}

.sa-steps--grid.is-playing.is-resetting .sa-steps-item .h-px::after {
  animation: xmas-step-clear 0.55s ease forwards;
}

@keyframes xmas-step-travel {
  from { transform: scaleX(0); opacity: 0.85; }
  to   { transform: scaleX(1); opacity: 1; }
}

@keyframes xmas-step-clear {
  from { transform: scaleX(1); opacity: 1; }
  to   { transform: scaleX(0); opacity: 0.25; }
}

/* ---------- Recent Sales Floating Tabs ---------- */
.sa-sale {
  background: linear-gradient(135deg, rgba(28, 10, 14, 0.9), rgba(14, 7, 9, 0.86)) !important;
  border: 1px solid rgba(220, 38, 38, 0.48) !important;
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.88), 0 0 28px -8px rgba(220, 38, 38, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
}

.sa-sale-tag,
.sa-sale-stars,
.sa-sale-view {
  color: #f87171 !important;
}

/* ---------- Scroll Progress, Cursor Glow, Back to Top ---------- */
.rc-progress {
  background: linear-gradient(90deg, #ef4444 0%, #fde047 50%, #22c55e 100%) !important;
  box-shadow: 0 0 14px rgba(239, 68, 68, 0.85) !important;
}

.rc-cursor {
  background: radial-gradient(closest-side, rgba(220, 38, 38, 0.14), transparent 72%) !important;
}

.rc-top {
  background: linear-gradient(135deg, #1d090e, #0f0608) !important;
  border: 1px solid rgba(239, 68, 68, 0.55) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 30px -10px rgba(220, 38, 38, 0.75) !important;
}

.rc-top:hover {
  border-color: #ef4444 !important;
  box-shadow: 0 14px 36px -8px rgba(239, 68, 68, 0.8) !important;
}

/* ---------- Category Tabs, Feedback Links & Modals ---------- */
.sa-category-tab.is-active,
.sa-categories-link.is-active,
.sa-page-feedback-link.bg-accent-500,
.sa-page-feedback-link[class*="bg-accent-500"] {
  background: linear-gradient(135deg, #ef4444, #b91c1c) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(220, 38, 38, 0.55) !important;
}

.sa-cart-panel,
.sa-search-modal,
.sa-ticket-create-modal .bg-surface-raised,
[role=dialog] .bg-surface-raised,
.sa-modal,
.sa-group-modal-panel {
  background: var(--glass-bg-strong) !important;
  border: 1px solid rgba(220, 38, 38, 0.35) !important;
}

/* ---------- Footer ---------- */
.sa-footer,
footer,
footer.component {
  background: linear-gradient(180deg, #100609 0%, #070406 100%) !important;
  background-color: #080406 !important;
  border-top: 1px solid rgba(220, 38, 38, 0.35) !important;
  box-shadow: 0 100vh 0 100vh #070406, 0 -16px 40px rgba(0, 0, 0, 0.65) !important;
}

.sa-footer::before {
  background: linear-gradient(90deg, transparent, #ef4444, transparent) !important;
  box-shadow: 0 0 18px rgba(220, 38, 38, 0.7) !important;
}

.sa-footer-link:hover {
  color: #fca5a5 !important;
}

.sa-footer .sa-footer-link[href*="discord"] {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  color: #d4d4d8 !important;
  justify-content: flex-start !important;
}

.sa-footer .sa-footer-link[href*="discord"]:hover {
  background: transparent !important;
  color: #fca5a5 !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ---------- Secondary Text Contrast ---------- */
.text-t-muted,
.sa-section-subtitle,
.sa-hero-subtitle,
.sa-steps-item p,
.sa-features-item p,
.sa-stats-item p,
.sa-page-feedback p {
  color: #d4d4d8 !important;
  opacity: 0.92;
}

/* ---------- Mobile & Reduced Motion ---------- */
@media (max-width: 640px) {
  .xmas-lights-rail {
    padding-inline: 16px;
  }
  .xmas-holly-corner {
    width: 30px;
    height: 23px;
    top: -9px;
  }
  .xmas-section-holly {
    width: 22px;
    height: 17px;
  }
  .xmas-logo-holly {
    width: 19px;
    height: 14px;
    right: -10px;
    top: -5px;
  }
  .xmas-light-slot {
    min-width: 28px;
  }
  .xmas-bulb {
    width: 6px;
    height: 9px;
  }
  .xmas-snow-cap {
    height: 18px;
    top: -6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xmas-snow-canvas {
    display: none !important;
  }
  .xmas-aurora,
  .xmas-bulb,
  .xmas-bulb-wrap,
  .hl-accent .mk {
    animation: none !important;
  }
}