/* ==========================================================================
   GizaData Christmas Theme — Winter Midnight & Champagne Gold (Optimized)
   ========================================================================== */

:root,
html[data-active-theme="christmas"][data-theme="dark"] {
  --xmas-bg: #050c17;
  --xmas-red: #e11d48;
  --xmas-gold-bright: #fbbf24;
}

html[data-active-theme="christmas"][data-theme="light"] {
  --xmas-bg: #f8fafc;
  --xmas-red: #be123c;
  --xmas-gold-bright: #f59e0b;
}

.xmas-snow-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 20;
  overflow: hidden;
  contain: strict;
}

.xmas-flake {
  position: absolute;
  top: -12px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(226, 242, 255, 0.55);
  will-change: transform;
  animation: xmas-fall linear infinite;
}

html[data-active-theme="christmas"][data-theme="light"] .xmas-flake {
  background: rgba(148, 163, 184, 0.55);
}

@keyframes xmas-fall {
  0% { transform: translate3d(0, -10px, 0); opacity: 0; }
  10% { opacity: 0.7; }
  90% { opacity: 0.55; }
  100% { transform: translate3d(24px, 105vh, 0); opacity: 0; }
}

html[data-active-theme="christmas"][data-theme="dark"] body.giza-body {
  background-color: var(--xmas-bg);
}

html[data-active-theme="christmas"] .vps-header {
  border-bottom: 1px solid rgba(251, 191, 36, 0.16);
}

html[data-active-theme="christmas"] .vps-header__logo::after {
  content: "❄";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  font-size: 0.78rem;
  color: #bae6fd;
}

html[data-active-theme="christmas"] .vps-header__tab.active {
  color: #fde68a;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.24), rgba(245, 158, 11, 0.18));
}

html[data-active-theme="christmas"] .vps-header__tab::after {
  background: var(--xmas-gold-bright);
}

html[data-active-theme="christmas"] .vps-header__deposit {
  color: #ffffff;
  background: linear-gradient(135deg, #e11d48, #be123c);
}

html[data-active-theme="christmas"][data-theme="dark"] .home-hero {
  background-color: #050c17 !important;
}

html[data-active-theme="christmas"] .home-hero-bg-orb {
  filter: none !important;
  animation: none !important;
  will-change: auto !important;
}

html[data-active-theme="christmas"] .home-hero-bg-orb--cyan {
  background: radial-gradient(circle, rgba(225, 29, 72, 0.16), transparent 68%) !important;
}

html[data-active-theme="christmas"] .home-hero-bg-orb--emerald {
  background: radial-gradient(circle, rgba(16, 185, 129, 0.14), transparent 65%) !important;
}

html[data-active-theme="christmas"] .home-hero-bg-orb--violet {
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12), transparent 65%) !important;
}

html[data-active-theme="christmas"] .home-hero a.bg-cyan-500 {
  background: linear-gradient(135deg, #f59e0b, #e11d48) !important;
  color: #ffffff !important;
}

html[data-active-theme="christmas"] .plan-card:hover,
html[data-active-theme="christmas"] .vps-card:hover,
html[data-active-theme="christmas"] .home-configurator-box {
  border-color: rgba(251, 191, 36, 0.32) !important;
}

html[data-active-theme="christmas"] footer {
  border-top: 1px solid rgba(251, 191, 36, 0.16);
}

@media (prefers-reduced-motion: reduce) {
  .xmas-snow-layer { display: none; }
}
