/* VAVA Party Palace – Christmas mode */
.vxmas-ribbon { background: repeating-linear-gradient(135deg, #C8102E 0 18px, #B00D27 18px 36px); color: #fff; text-align: center; font-weight: 700; font-size: .92rem; position: relative; z-index: 2; }
.vxmas-ribbon a { display: block; color: #fff !important; padding: 8px 0; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.vxmas-ribbon a:hover { text-decoration: underline; }
.vxmas-ribbon::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 4px; background: repeating-linear-gradient(90deg, #1F7A3A 0 14px, #fff 14px 18px); }
.vhead--pill .vxmas-ribbon { margin: -14px 0 12px; }

/* Twinkling lights under the header */
.vxmas-lights { position: absolute; left: 0; right: 0; bottom: -20px; height: 26px; pointer-events: none; z-index: 3; overflow: hidden; }
.vxmas-lights svg { position: absolute; inset: 0 0 auto; width: 100%; height: 14px; }
.vxmas-lights i { position: absolute; top: 5px; width: 9px; height: 14px; border-radius: 50% 50% 45% 45%; transform-origin: 50% 0; animation: vxTwinkle 1.6s ease-in-out infinite; }
.vxmas-lights i::before { content: ""; position: absolute; top: -3px; left: 2px; width: 5px; height: 4px; background: #2f3b2f; border-radius: 1px; }
@keyframes vxTwinkle { 0%, 100% { opacity: 1; filter: brightness(1.15); box-shadow: 0 0 10px 2px currentColor; } 50% { opacity: .45; filter: brightness(.8); box-shadow: 0 0 2px 0 currentColor; } }
.vhead--pill .vxmas-lights { bottom: -22px; }

/* Santa hat on the logo */
.vava-xmas-hat .vhead .vava-logo, .vava-xmas-hat .vdrawer .vava-logo { position: relative; }
.vava-xmas-hat .vhead .vava-logo::after, .vava-xmas-hat .vdrawer .vava-logo::after {
	content: ""; position: absolute; top: -15px; right: -12px; width: 40px; height: 36px; transform: rotate(18deg); pointer-events: none;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 58'%3E%3Cpath d='M8 44 C14 22 28 6 46 8 C54 9 58 16 57 26 C55 20 50 17 45 19 C40 26 42 36 46 44 Z' fill='%23D7192D'/%3E%3Cpath d='M8 44 C14 22 28 6 46 8 C40 12 30 24 26 44 Z' fill='%23F0364A' opacity='.55'/%3E%3Crect x='4' y='41' width='46' height='12' rx='6' fill='%23fff'/%3E%3Ccircle cx='57' cy='28' r='7' fill='%23fff'/%3E%3C/svg%3E") center/contain no-repeat;
	filter: drop-shadow(0 2px 2px rgba(0,0,0,.25));
}
.vava-xmas-hat .vhead .vava-logo--img::after { top: -14px; right: -24px; width: 30px; height: 27px; }

/* Snow */
#vxmas-snow { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 9000; }

/* Visitor on/off button */
.vxmas-toggle { position: fixed; left: 16px; bottom: 16px; z-index: 9991; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: #fff; color: #C8102E; font-size: 22px; line-height: 1; box-shadow: 0 10px 26px -8px rgba(0,0,0,.45); display: grid; place-items: center; transition: transform .2s; }
.vxmas-toggle:hover { transform: scale(1.08) rotate(20deg); }
.vxmas-toggle[aria-pressed="false"] { color: #9aa0ad; }
.vxmas-toggle[aria-pressed="false"]::after { content: ""; position: absolute; width: 30px; height: 3px; background: #9aa0ad; transform: rotate(-45deg); border-radius: 3px; }
body:has(.vava-demo-bar) .vxmas-toggle { bottom: 76px; }
@media (max-width: 480px) { body:has(.vava-demo-bar) .vxmas-toggle { bottom: 134px; } }

/* Visitor turned effects off */
.vava-xmas-off #vxmas-snow, .vava-xmas-off .vxmas-lights, .vava-xmas-off .vxmas-ribbon { display: none !important; }
.vava-xmas-off .vhead .vava-logo::after, .vava-xmas-off .vdrawer .vava-logo::after { display: none !important; }

@media (prefers-reduced-motion: reduce) { .vxmas-lights i { animation: none; } }
