:root {

		--anim-color-shift-1: #0faebc;

		--anim-color-shift-2: #c2185b;

		--anim-brightness: 100%;

		--anim-contrast: 100%;

		--anim-saturate: 100%;

		--anim-heartbeat-speed: 1.5s;

		--anim-speed-multiplier: 1.5;

		--anim-filter: brightness(100%) contrast(100%) saturate(100%);

	}



	/* Filter on all animated elements */

	.anim-heartbeat,

	.anim-color-morph,

	.anim-neon-glow,

	.anim-border-spin,

	.anim-gradient-shift,

	.anim-floating,

	.anim-shine,

	.anim-text-reveal .word,

	.anim-magnetic,

	.anim-tilt,

	.anim-on-scroll.is-visible,

	.section-reveal.is-visible,

	.grid-anim-container.is-visible > * {

		filter: var(--anim-filter);

	}



	/* Heartbeat */

	.anim-heartbeat,

	html body.anim-advanced-heartbeat .hero-btn-primary,

	html body.anim-advanced-heartbeat .doctor-btn-primary {

		animation: heartbeat var(--anim-heartbeat-speed) ease-in-out infinite !important;

	}



	/* Gradient shift */

	.anim-gradient-shift,

	html body.anim-advanced-gradient-shift .medical-hero {

		background: linear-gradient(135deg, var(--anim-color-shift-1), var(--anim-color-shift-2), var(--anim-color-shift-1)) !important;

		background-size: 200% 200% !important;

		animation: gradientShift calc(8s * var(--anim-speed-multiplier, 1)) ease infinite !important;

	}



	/* Neon glow */

	.anim-neon-glow,

	html body.anim-advanced-neon-glow .hero-btn-primary {

		animation: neonGlow calc(3s * var(--anim-speed-multiplier, 1)) ease-in-out infinite !important;

	}



	/* Color morph */

	.anim-color-morph,

	html body.anim-advanced-color-morph .feature-icon,

	html body.anim-advanced-color-morph .hero-service-icon,

	html body.anim-advanced-color-morph .quick-service-icon-wrap {

		animation: colorMorph calc(6s * var(--anim-speed-multiplier, 1)) ease-in-out infinite !important;

	}



	/* Floating elements */

	.anim-floating,

	html body.anim-advanced-floating-elements .glass-panel {

		animation: floatAdvanced calc(4s * var(--anim-speed-multiplier, 1)) ease-in-out infinite !important;

	}



	/* Shine effect */

	html body.anim-advanced-shine-effect .med-btn,

	html body.anim-advanced-shine-effect .hero-service-item,

	html body.anim-advanced-shine-effect .license-copy-btn {

		position: relative;

		overflow: hidden;

	}

	html body.anim-advanced-shine-effect .med-btn::after,

	html body.anim-advanced-shine-effect .hero-service-item::after,

	html body.anim-advanced-shine-effect .license-copy-btn::after {

		content: '';

		position: absolute;

		top: 0;

		left: 0;

		width: 50%;

		height: 100%;

		background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);

		transform: translateX(-100%) skewX(-15deg);

		pointer-events: none;

	}

	html body.anim-advanced-shine-effect .med-btn:hover::after,

	html body.anim-advanced-shine-effect .hero-service-item:hover::after,

	html body.anim-advanced-shine-effect .license-copy-btn:hover::after {

		animation: shine calc(0.8s * var(--anim-speed-multiplier, 1)) ease forwards !important;

	}



	/* Border spin fallback */

	html body.anim-advanced-border-spin .med-card,

	html body.anim-advanced-border-spin .glass-panel {

		position: relative;

		z-index: 1;

	}

	html body.anim-advanced-border-spin .med-card::before,

	html body.anim-advanced-border-spin .glass-panel::before {

		content: '';

		position: absolute;

		inset: -3px;

		border-radius: inherit;

		padding: 3px;

		background: conic-gradient(from 0deg, var(--anim-color-shift-1), var(--anim-color-shift-2), var(--anim-color-shift-1));

		-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);

		-webkit-mask-composite: xor;

		mask-composite: exclude;

		animation: borderSpin calc(4s * var(--anim-speed-multiplier, 1)) linear infinite !important;

		z-index: -1;

		pointer-events: none;

	}



	/* Parallax fallback */

	html body.anim-advanced-parallax .medical-hero {

		background-attachment: fixed;

	}



	/* Pulse ring fallback */

	html body.anim-advanced-pulse-ring .hero-btn-primary,

	html body.anim-advanced-pulse-ring .doctor-btn-primary {

		position: relative;

		z-index: 1;

	}

	html body.anim-advanced-pulse-ring .hero-btn-primary::before,

	html body.anim-advanced-pulse-ring .doctor-btn-primary::before {

		content: '';

		position: absolute;

		inset: 0;

		border-radius: inherit;

		box-shadow: 0 0 0 0 rgba(255,255,255,0.4);

		animation: pulseRing calc(2s * var(--anim-speed-multiplier, 1)) ease-out infinite !important;

		z-index: -1;

		pointer-events: none;

	}



	/* Scroll progress bar */

	html body.anim-advanced-scroll-progress::before {

		content: '';

		position: fixed;

		top: 0;

		left: 0;

		width: var(--scroll-progress, 0%);

		height: 3px;

		background: linear-gradient(90deg, var(--anim-color-shift-1), var(--anim-color-shift-2));

		z-index: 9999;

		pointer-events: none;

	}



	/* Link underline draw */

	html body.anim-advanced-link-draw .med-section a,

	html body.anim-advanced-link-draw .entry-content a,

	html body.anim-advanced-link-draw .med-card a {

		text-decoration: none;

		position: relative;

	}

	html body.anim-advanced-link-draw .med-section a::after,

	html body.anim-advanced-link-draw .entry-content a::after,

	html body.anim-advanced-link-draw .med-card a::after {

		content: '';

		position: absolute;

		left: 50%;

		bottom: -2px;

		width: 0;

		height: 2px;

		background: currentColor;

		transition: width 0.3s ease, left 0.3s ease;

	}

	html body.anim-advanced-link-draw .med-section a:hover::after,

	html body.anim-advanced-link-draw .entry-content a:hover::after,

	html body.anim-advanced-link-draw .med-card a:hover::after {

		width: 100%;

		left: 0;

	}



	/* Focus glow */

	html body.anim-advanced-focus-glow input:focus-visible,

	html body.anim-advanced-focus-glow textarea:focus-visible,

	html body.anim-advanced-focus-glow select:focus-visible,

	html body.anim-advanced-focus-glow button:focus-visible,

	html body.anim-advanced-focus-glow .med-btn:focus-visible {

		outline: none;

		box-shadow: 0 0 0 3px rgba(85,104,211,0.35);

	}

